public void stop() { log.debug("closing sockets and stopping threads"); destroySockets(); stopThreads(); super.stop(); }
public void stop() { if(log.isDebugEnabled()) log.debug("closing sockets and stopping threads"); stopThreads(); // will close sockets, closeSockets() is not really needed anymore, but... closeSockets(); // ... we'll leave it in there for now (doesn't do anything if already closed) super.stop(); }
public void stop() { log.debug("closing sockets and stopping threads"); destroySockets(); stopThreads(); super.stop(); }