Added paranoid resource leak detection for netty
This commit is contained in:
parent
76b577365d
commit
ce6ae3e29d
@ -31,6 +31,7 @@ import dorkbox.network.connection.EndPoint;
|
||||
import dorkbox.util.entropy.Entropy;
|
||||
import dorkbox.util.entropy.SimpleEntropy;
|
||||
import dorkbox.util.exceptions.InitializationException;
|
||||
import io.netty.util.ResourceLeakDetector;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
import java.util.ArrayList;
|
||||
@ -59,6 +60,8 @@ class BaseTest {
|
||||
|
||||
public
|
||||
BaseTest() {
|
||||
ResourceLeakDetector.setLevel(ResourceLeakDetector.Level.PARANOID);
|
||||
|
||||
System.out.println("---- " + getClass().getSimpleName());
|
||||
|
||||
// assume SLF4J is bound to logback in the current environment
|
||||
|
Loading…
Reference in New Issue
Block a user