Fix incorrect merge
This commit is contained in:
parent
d03571cb05
commit
b23502c32b
|
|
@ -42,11 +42,7 @@ public class BufferBuilderMixin {
|
|||
try {
|
||||
ByteBuffer buf = buffer;
|
||||
// can be null if a mod already tried to free the buffer
|
||||
<<<<<<< HEAD
|
||||
if(!this.closed && buf != null) {
|
||||
=======
|
||||
if(buf != null && mfix$shouldFree) {
|
||||
>>>>>>> propagations/1.20
|
||||
if(!this.closed && buf != null && mfix$shouldFree) {
|
||||
if(!leakReported) {
|
||||
leakReported = true;
|
||||
ModernFix.LOGGER.warn("One or more BufferBuilders have been leaked, ModernFix will attempt to correct this.");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user