More friendly dead lock error message
This commit is contained in:
parent
c4ba12e8d4
commit
bb8f4da30c
@ -242,7 +242,7 @@ public class DefaultChannelFuture implements ChannelFuture {
|
||||
if (IoWorkerRunnable.IN_IO_THREAD.get()) {
|
||||
throw new IllegalStateException(
|
||||
"await*() in I/O thread causes a dead lock or " +
|
||||
"sudden performance drop.");
|
||||
"sudden performance drop. Use addListener() instead.");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -308,7 +308,7 @@ public class DefaultChannelGroupFuture implements ChannelGroupFuture {
|
||||
if (IoWorkerRunnable.IN_IO_THREAD.get()) {
|
||||
throw new IllegalStateException(
|
||||
"await*() in I/O thread causes a dead lock or " +
|
||||
"sudden performance drop.");
|
||||
"sudden performance drop. Use addListener() instead.");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user