mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
additional just-in-case-handling
This commit is contained in:
parent
31479d811f
commit
e93ee34327
1 changed files with 2 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package ms.net;
|
||||
|
||||
import ms.world.WorldDatabase;
|
||||
import ms09.MSLogger;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.ByteBuffer;
|
||||
|
|
@ -69,6 +70,7 @@ public final class IoEventHandler {
|
|||
if(session.getGameServer() != null){
|
||||
WorldDatabase.unRegister(session.getGameServer());
|
||||
}
|
||||
session.disconnect();
|
||||
key.cancel();
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue