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