mirror of
https://github.com/i2p/i2p.i2p.git
synced 2024-12-06 19:27:00 +01:00
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