mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
Destroy EffectManager <-> Living cyclic reference on close (#2993)
This commit is contained in:
@@ -758,6 +758,7 @@ abstract class Living extends Entity{
|
||||
|
||||
protected function destroyCycles() : void{
|
||||
$this->armorInventory = null;
|
||||
$this->effectManager = null;
|
||||
parent::destroyCycles();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user