Fixed memory Leak

This commit is contained in:
Shoghi Cervantes Pueyo 2013-03-19 18:55:35 +01:00
parent 4d2835a37a
commit fe2b9a6ac5

View File

@ -208,6 +208,8 @@ class Player{
$this->dataPacket(MC_DISCONNECT);
$this->buffer = null;
unset($this->buffer);
$this->recovery = null;
unset($this->recovery);
$this->queue = null;
unset($this->queue);
$this->connected = false;