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

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

View File

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