mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-05-25 09:54:32 +00:00
prevent race NPE
This commit is contained in:
@@ -143,7 +143,6 @@ public class I2CPMessageReader {
|
||||
_log.error("Error closing the stream", ioe);
|
||||
}
|
||||
}
|
||||
_stream = null;
|
||||
}
|
||||
|
||||
public void run() {
|
||||
@@ -186,7 +185,7 @@ public class I2CPMessageReader {
|
||||
}
|
||||
}
|
||||
}
|
||||
// boom bye bye bad bwoy
|
||||
_stream = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user