Gracefully shutdown event loop, closes #346
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user