Issue #3989 - Restoring _selector to null on failure

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2019-09-06 08:24:51 -05:00
parent 3171ad5fe6
commit 0fd989f0cd
1 changed files with 1 additions and 0 deletions

View File

@ -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;