mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +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:
parent
fb019a88c1
commit
c15f8cfda6
5 changed files with 10 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue