mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59: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{
|
||||
$this->armorInventory = null;
|
||||
$this->effectManager = null;
|
||||
parent::destroyCycles();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user