[#1448] Don't print failure if VoidChannelPromise is used

This commit is contained in:
Norman Maurer 2013-06-16 14:25:02 +02:00
parent 6a9f965f9b
commit cce74efded

View File

@ -220,7 +220,7 @@ final class ChannelOutboundBuffer {
}
do {
if (!currentPromise.tryFailure(cause)) {
if (!(currentPromise instanceof VoidChannelPromise) && !currentPromise.tryFailure(cause)) {
logger.warn("Promise done already:", cause);
}