[#454] Unnecessary thread interruption in DefaultEventExecutor

This commit is contained in:
Trustin Lee 2012-07-13 13:17:35 +09:00
parent 6c2eba79d7
commit 7fbd1e5095

View File

@ -42,7 +42,7 @@ class DefaultChildEventExecutor extends SingleThreadEventExecutor {
@Override
protected void wakeup(boolean inEventLoop) {
if (!inEventLoop) {
if (!inEventLoop && isShutdown()) {
interruptThread();
}
}