Allow to have the Channel GC'ed ASAP
This commit is contained in:
parent
48a7a21541
commit
5b6e762bf4
@ -570,6 +570,9 @@ public final class ChannelOutboundBuffer {
|
|||||||
inFail = false;
|
inFail = false;
|
||||||
}
|
}
|
||||||
RECYCLER.recycle(this, handle);
|
RECYCLER.recycle(this, handle);
|
||||||
|
|
||||||
|
// Set the channel to null so it can be GC'ed ASAP
|
||||||
|
channel = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void safeRelease(Object message) {
|
private static void safeRelease(Object message) {
|
||||||
|
Loading…
Reference in New Issue
Block a user