mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244809 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
97ae32388c
commit
08ae7770bb
|
@ -126,10 +126,11 @@ public class StompNIOTransport extends TcpTransport {
|
|||
|
||||
protected void doStop(ServiceStopper stopper) throws Exception {
|
||||
try {
|
||||
selection.close();
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
if (selection != null) {
|
||||
selection.close();
|
||||
}
|
||||
} finally {
|
||||
super.doStop(stopper);
|
||||
}
|
||||
super.doStop(stopper);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue