Make sure we never exit the selector loop unless stopped.

This commit is contained in:
Simone Bordet 2013-10-28 12:19:16 +01:00
parent 3066b673e9
commit c822ee4f82
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
} }
selectedKeys.clear(); selectedKeys.clear();
} }
catch (Exception x) catch (Throwable x)
{ {
if (isRunning()) if (isRunning())
LOG.warn(x); LOG.warn(x);