Merge branch 'Core-Rewrite' of github.com:PocketMine/PocketMine-MP into Core-Rewrite

This commit is contained in:
Shoghi Cervantes
2014-04-03 13:12:30 +02:00
3 changed files with 52 additions and 1 deletions

View File

@ -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"));
}