Close #462 - shutdown gracefully

This commit is contained in:
md_5 2013-06-26 20:47:05 +10:00
parent 2069679140
commit a73b06eee3

View File

@ -315,7 +315,7 @@ public class BungeeCord extends ProxyServer
}
getLogger().info( "Closing IO threads" );
eventLoops.shutdown();
eventLoops.shutdownGracefully();
try
{
eventLoops.awaitTermination( Long.MAX_VALUE, TimeUnit.NANOSECONDS );