mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Fixed memory Leak
This commit is contained in:
@ -208,6 +208,8 @@ class Player{
|
|||||||
$this->dataPacket(MC_DISCONNECT);
|
$this->dataPacket(MC_DISCONNECT);
|
||||||
$this->buffer = null;
|
$this->buffer = null;
|
||||||
unset($this->buffer);
|
unset($this->buffer);
|
||||||
|
$this->recovery = null;
|
||||||
|
unset($this->recovery);
|
||||||
$this->queue = null;
|
$this->queue = null;
|
||||||
unset($this->queue);
|
unset($this->queue);
|
||||||
$this->connected = false;
|
$this->connected = false;
|
||||||
|
Reference in New Issue
Block a user