mirror of https://github.com/apache/activemq.git
Calling socketHandlerThread.interrupt() on TcpTransportServer stop to make sure the broker shutsdown cleanly. Patch applied with thanks to Erik Godding Boye
This commit is contained in:
parent
6fef9eea65
commit
4adc8e4f4e
|
@ -467,6 +467,10 @@ public class TcpTransportServer extends TransportServerThreadSupport implements
|
|||
serverSocket.close();
|
||||
serverSocket = null;
|
||||
}
|
||||
if (socketHandlerThread != null) {
|
||||
socketHandlerThread.interrupt();
|
||||
socketHandlerThread = null;
|
||||
}
|
||||
super.doStop(stopper);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue