Gracefully shutdown event loop, closes #346
This commit is contained in:
parent
9f3359f8fa
commit
ff32d29e09
@ -281,7 +281,7 @@ public class BungeeCord extends ProxyServer
|
|||||||
}
|
}
|
||||||
|
|
||||||
getLogger().info( "Closing IO threads" );
|
getLogger().info( "Closing IO threads" );
|
||||||
eventLoops.shutdown();
|
eventLoops.shutdownGracefully();
|
||||||
|
|
||||||
getLogger().info( "Saving reconnect locations" );
|
getLogger().info( "Saving reconnect locations" );
|
||||||
reconnectHandler.save();
|
reconnectHandler.save();
|
||||||
|
Loading…
Reference in New Issue
Block a user