Allow to have the Channel GC'ed ASAP

This commit is contained in:
Norman Maurer 2013-08-07 10:32:03 +02:00
parent 48a7a21541
commit 5b6e762bf4

View File

@ -570,6 +570,9 @@ public final class ChannelOutboundBuffer {
inFail = false;
}
RECYCLER.recycle(this, handle);
// Set the channel to null so it can be GC'ed ASAP
channel = null;
}
private static void safeRelease(Object message) {