Readd the delay removed in f9773a69c3
This commit is contained in:
parent
76052b92d3
commit
585ab4f453
@ -53,9 +53,16 @@ public class ServerConnection implements Server
|
||||
public synchronized void disconnect(BaseComponent... reason)
|
||||
{
|
||||
if ( !ch.isClosed() )
|
||||
{
|
||||
ch.getHandle().eventLoop().schedule( new Runnable()
|
||||
{
|
||||
@Override
|
||||
public void run()
|
||||
{
|
||||
ch.getHandle().close();
|
||||
}
|
||||
}, 100, TimeUnit.MILLISECONDS );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user