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:
Shoghi Cervantes Pueyo
2012-12-12 00:27:14 +01:00
parent fb019a88c1
commit c15f8cfda6
5 changed files with 10 additions and 5 deletions

View File

@ -260,6 +260,8 @@ class ServerAPI extends stdClass{ //Yay! I can add anything to this class in run
public function start(){
$this->server->start();
unregister_tick_function(array($this->server, "tick"));
unset($this->server);
return $this->restart;
}