mirror of
https://github.com/apache/activemq.git
synced 2025-02-11 20:46:04 +00:00
speed up stopping the tcp transport (saves 2sec for each @Test method)
This commit is contained in:
parent
be94865c44
commit
efcef4533e
@ -405,10 +405,10 @@ public class TcpTransportServer extends TransportServerThreadSupport implements
|
||||
|
||||
@Override
|
||||
protected void doStop(ServiceStopper stopper) throws Exception {
|
||||
super.doStop(stopper);
|
||||
if (serverSocket != null) {
|
||||
serverSocket.close();
|
||||
}
|
||||
super.doStop(stopper);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user