forked from I2P_Developers/i2p.i2p
SSU: Don't start peer test when shutting down
This commit is contained in:
@@ -159,6 +159,7 @@ class PeerTestEvent extends SimpleTimer2.TimedEvent {
|
||||
|
||||
private boolean shouldTest() {
|
||||
return ! (_context.router().isHidden() ||
|
||||
_context.router().gracefulShutdownInProgress() ||
|
||||
(_transport.isIPv4Firewalled() && _transport.isIPv6Firewalled()));
|
||||
//String val = _context.getProperty(PROP_SHOULD_TEST);
|
||||
//return ( (val != null) && ("true".equals(val)) );
|
||||
|
||||
Reference in New Issue
Block a user