Fix typo, thanks @hugmanrique for spotting this
This commit is contained in:
@@ -34,7 +34,7 @@ public class Velocity {
|
||||
|
||||
// Disable the resource leak detector by default as it reduces performance. Allow the user to
|
||||
// override this if desired.
|
||||
if (System.getProperty("io.netty.leakDetection.level") != null) {
|
||||
if (System.getProperty("io.netty.leakDetection.level") == null) {
|
||||
ResourceLeakDetector.setLevel(Level.DISABLED);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user