mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@775094 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
558ff7802d
commit
634a52a4a2
|
@ -49,7 +49,9 @@ public final class SelectorSelection {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void disable() {
|
public void disable() {
|
||||||
key.interestOps(0);
|
if (key.isValid()) {
|
||||||
|
key.interestOps(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void close() {
|
public void close() {
|
||||||
|
|
Loading…
Reference in New Issue