Addition of missing telnet shutdown.
This commit is contained in:
@ -45,6 +45,7 @@ import com.l2jmobius.gameserver.network.EventLoopGroupManager;
|
||||
import com.l2jmobius.gameserver.network.SystemMessageId;
|
||||
import com.l2jmobius.gameserver.network.loginserverpackets.game.ServerStatus;
|
||||
import com.l2jmobius.gameserver.network.serverpackets.SystemMessage;
|
||||
import com.l2jmobius.gameserver.network.telnet.TelnetServer;
|
||||
import com.l2jmobius.gameserver.util.Broadcast;
|
||||
|
||||
/**
|
||||
@ -233,6 +234,16 @@ public class Shutdown extends Thread
|
||||
// ignore
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
TelnetServer.getInstance().shutdown();
|
||||
LOGGER.info("Telnet Server Thread: Thread interruped(" + tc.getEstimatedTimeAndRestartCounter() + "ms).");
|
||||
}
|
||||
catch (Throwable t)
|
||||
{
|
||||
// ignore
|
||||
}
|
||||
|
||||
// last byebye, save all data and quit this server
|
||||
saveData();
|
||||
tc.restartCounter();
|
||||
|
Reference in New Issue
Block a user