Why set to null

This commit is contained in:
Edward Capriolo
2016-04-20 14:17:39 -04:00
parent 611b53b475
commit e91d4af3bf

View File

@ -64,7 +64,6 @@ abstract public class PassiveGossipThread implements Runnable {
GossipService.LOGGER.debug("I am " + _gossipManager.getMyself());
} catch (SocketException ex) {
GossipService.LOGGER.warn(ex);
_server = null;
throw new RuntimeException(ex);
}
_keepRunning = new AtomicBoolean(true);
@ -139,7 +138,9 @@ abstract public class PassiveGossipThread implements Runnable {
}
public void shutdown() {
try {
_server.close();
} catch (RuntimeException ex){ }
}
/**