Do not allow suspendIntermediaryDeallocations() after free()
This commit is contained in:
parent
96dc3f983f
commit
5ffb495746
@ -119,6 +119,7 @@ abstract class PooledByteBuf<T> extends AbstractByteBuf implements Unsafe {
|
||||
|
||||
@Override
|
||||
public void suspendIntermediaryDeallocations() {
|
||||
assert !isFreed();
|
||||
if (suspendedDeallocations == null) {
|
||||
suspendedDeallocations = new ArrayDeque<Allocation<T>>(2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user