mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +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:
@ -242,7 +242,7 @@ class PocketMinecraftServer extends stdClass{
|
||||
public function start(){
|
||||
declare(ticks=15);
|
||||
register_tick_function(array($this, "tick"));
|
||||
$this->event("onTick", "tickerFunction", true);
|
||||
$this->event("onTick", array($this, "tickerFunction"));
|
||||
$this->event("onReceivedPacket", "packetHandler", true);
|
||||
register_shutdown_function(array($this, "close"));
|
||||
$this->loadMap();
|
||||
|
Reference in New Issue
Block a user