mirror of https://github.com/apache/activemq.git
close the selection on shutdown
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f392884e31
commit
192ea889ee
|
@ -149,7 +149,7 @@ public class NIOTransport extends TcpTransport {
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void doStop(ServiceStopper stopper) throws Exception {
|
protected void doStop(ServiceStopper stopper) throws Exception {
|
||||||
selection.disable();
|
selection.close();
|
||||||
super.doStop(stopper);
|
super.doStop(stopper);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue