Readd the delay removed in f9773a69c3

This commit is contained in:
Thinkofdeath 2015-05-08 20:41:21 +01:00
parent 76052b92d3
commit 585ab4f453

View File

@ -54,7 +54,14 @@ public class ServerConnection implements Server
{ {
if ( !ch.isClosed() ) if ( !ch.isClosed() )
{ {
ch.getHandle().close(); ch.getHandle().eventLoop().schedule( new Runnable()
{
@Override
public void run()
{
ch.getHandle().close();
}
}, 100, TimeUnit.MILLISECONDS );
} }
} }