Release strong weak references on close, closes #1883

This commit is contained in:
Shoghi Cervantes
2014-08-15 13:41:13 +02:00
parent 9c95441402
commit f60e2860e8
4 changed files with 5 additions and 33 deletions

View File

@@ -1050,6 +1050,7 @@ abstract class Entity extends Position implements Metadatable{
}
$this->getLevel()->removeEntity($this);
$this->despawnFromAll();
$this->level->release();
}
}