Issue #3989 - Restoring _selector to null on failure
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
parent
3171ad5fe6
commit
0fd989f0cd
|
@ -510,6 +510,7 @@ public class ManagedSelector extends ContainerLifeCycle implements Dumpable
|
|||
LOG.warn(x.toString());
|
||||
LOG.debug(x);
|
||||
}
|
||||
_selector = null;
|
||||
IO.close(selector);
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue