mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 01:09:44 +00:00
Destroy EffectManager <-> Living cyclic reference on close (#2993)
This commit is contained in:
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user