Gracefully shutdown event loop, closes #346

This commit is contained in:
md_5 2013-05-15 19:02:10 +10:00
parent 9f3359f8fa
commit ff32d29e09

View File

@ -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();