mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-23 05:05:53 +12:00
add graceful exit on SIGKILL/SIGTERM
This commit is contained in:
parent
e42b0bf782
commit
ca39f783b9
6 changed files with 15 additions and 7 deletions
|
@ -8258,6 +8258,7 @@ namespace HISP.Server
|
|||
}
|
||||
public static void ShutdownServer()
|
||||
{
|
||||
Logger.InfoPrint("Shutting down.");
|
||||
GameClient.OnShutdown();
|
||||
GameServer.OnShutdown();
|
||||
Database.OnShutdown();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue