Close #489 - disable resource leak detector for performance reasons
This commit is contained in:
parent
07288c722c
commit
b741722e5d
@ -218,6 +218,11 @@ public class BungeeCord extends ProxyServer
|
||||
@Override
|
||||
public void start() throws Exception
|
||||
{
|
||||
if ( System.getProperty( "io.netty.noResourceLeakDetection" ) != null )
|
||||
{
|
||||
System.setProperty( "io.netty.noResourceLeakDetection", "true" );
|
||||
}
|
||||
|
||||
pluginsFolder.mkdir();
|
||||
pluginManager.detectPlugins( pluginsFolder );
|
||||
config.load();
|
||||
|
Loading…
Reference in New Issue
Block a user