mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 21:53:43 +00:00
correct a null pointer exception check before it gets caught and logged as an error
This commit is contained in:
1 parent
85382863d2
commit
bc7a963f5c
3 files changed
+16
-10
No files matched your search
@@ -73,8 +73,8 @@ public class MessageHandler implements I2PSessionListener {
|
||||
* @param session that has been terminated
|
||||
*/
|
||||
public void disconnected(I2PSession session) {
|
||||
if (_log.shouldLog(Log.ERROR))
|
||||
_log.error("I2PSession disconnected");
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("I2PSession disconnected");
|
||||
_manager.disconnectAllHard();
|
||||
|
||||
List listeners = null;
|
||||
|
||||
Reference in new issue
Block a user