1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-07-12 04:45:12 +00:00

Destroy EffectManager <-> Living cyclic reference on close ()

This commit is contained in:
Frago9876543210 2019-07-06 17:18:09 +03:00 committed by Dylan T
parent a2bb6a41d9
commit f3995f7cb0

@ -758,6 +758,7 @@ abstract class Living extends Entity{
protected function destroyCycles() : void{ protected function destroyCycles() : void{
$this->armorInventory = null; $this->armorInventory = null;
$this->effectManager = null;
parent::destroyCycles(); parent::destroyCycles();
} }
} }