Safer shutdown
This commit is contained in:
parent
a53ecbf5f1
commit
65e224f149
@ -124,7 +124,9 @@ final class NioChildEventLoop extends SingleThreadEventLoop {
|
||||
|
||||
if (isShutdown()) {
|
||||
closeAll();
|
||||
break;
|
||||
if (peekTask() == null) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
logger.warn(
|
||||
|
Loading…
Reference in New Issue
Block a user