Close #462 - shutdown gracefully
This commit is contained in:
parent
2069679140
commit
a73b06eee3
@ -315,7 +315,7 @@ public class BungeeCord extends ProxyServer
|
|||||||
}
|
}
|
||||||
|
|
||||||
getLogger().info( "Closing IO threads" );
|
getLogger().info( "Closing IO threads" );
|
||||||
eventLoops.shutdown();
|
eventLoops.shutdownGracefully();
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
eventLoops.awaitTermination( Long.MAX_VALUE, TimeUnit.NANOSECONDS );
|
eventLoops.awaitTermination( Long.MAX_VALUE, TimeUnit.NANOSECONDS );
|
||||||
|
Loading…
Reference in New Issue
Block a user