399576 Server dumpStdErr throws exception if server is stopping
This commit is contained in:
parent
9194fe1b7b
commit
495230579c
|
@ -598,7 +598,7 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
|
|||
}
|
||||
|
||||
Selector selector = _selector;
|
||||
if (selector != null)
|
||||
if (selector != null && selector.isOpen())
|
||||
{
|
||||
final ArrayList<Object> dump = new ArrayList<>(selector.keys().size() * 2);
|
||||
dump.add(where);
|
||||
|
|
Loading…
Reference in New Issue