mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 20:14:31 +00:00
Release strong weak references on close, closes #1883
This commit is contained in:
@@ -1050,6 +1050,7 @@ abstract class Entity extends Position implements Metadatable{
|
||||
}
|
||||
$this->getLevel()->removeEntity($this);
|
||||
$this->despawnFromAll();
|
||||
$this->level->release();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user