diff --git a/common/src/main/java/io/netty/util/ResourceLeakDetector.java b/common/src/main/java/io/netty/util/ResourceLeakDetector.java index 9aac5b5347..f60731e28c 100644 --- a/common/src/main/java/io/netty/util/ResourceLeakDetector.java +++ b/common/src/main/java/io/netty/util/ResourceLeakDetector.java @@ -28,7 +28,7 @@ import java.util.concurrent.atomic.AtomicBoolean; public final class ResourceLeakDetector { - private static volatile boolean disabled; + private static boolean disabled; private static final InternalLogger logger = InternalLoggerFactory.getInstance(ResourceLeakDetector.class);