forked from I2P_Developers/i2p.i2p
volatile
This commit is contained in:
@@ -80,9 +80,12 @@ class Writer {
|
||||
}
|
||||
|
||||
private class Runner implements Runnable {
|
||||
private boolean _stop;
|
||||
public Runner() { _stop = false; }
|
||||
private volatile boolean _stop;
|
||||
|
||||
public Runner() {}
|
||||
|
||||
public void stop() { _stop = true; }
|
||||
|
||||
public void run() {
|
||||
if (_log.shouldLog(Log.INFO)) _log.info("Starting writer");
|
||||
NTCPConnection con = null;
|
||||
|
Reference in New Issue
Block a user