mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 08:35:20 +00:00
Removed restart command due to a huge memory leak
... Caused by free'd objects looped looping around itself calling each one and become HAL
This commit is contained in:
@ -35,6 +35,8 @@ while(true){
|
||||
|
||||
if($server->start() !== true){
|
||||
break;
|
||||
}else{
|
||||
$server = null;
|
||||
console("[NOTICE] The server is restarting... (".gc_collect_cycles()." cycles collected)", true, true, 0);
|
||||
}
|
||||
console("[NOTICE] The server is restarting...", true, true, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user