mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 10:22:56 +00:00
Merge branch 'Core-Rewrite' of github.com:PocketMine/PocketMine-MP into Core-Rewrite
This commit is contained in:
@ -1435,7 +1435,7 @@ class Server{
|
||||
//register_shutdown_function(array($this, "dumpError"));
|
||||
register_shutdown_function(array($this, "shutdown"));
|
||||
if(function_exists("pcntl_signal")){
|
||||
//pcntl_signal(SIGTERM, array($this, "shutdown"));
|
||||
pcntl_signal(SIGTERM, array($this, "shutdown"));
|
||||
pcntl_signal(SIGINT, array($this, "shutdown"));
|
||||
pcntl_signal(SIGHUP, array($this, "shutdown"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user