mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
Fixed memory Leak
This commit is contained in:
parent
4d2835a37a
commit
fe2b9a6ac5
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue