mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Automatic cleanup of permission subscriptions on PermissibleBase destructor calls
this has gotten too complex ...
This commit is contained in:
@@ -87,9 +87,4 @@ class ConsoleCommandSender implements CommandSender{
|
||||
}
|
||||
$this->lineHeight = $height;
|
||||
}
|
||||
|
||||
public function __destruct(){
|
||||
//permission subscriptions need to be cleaned up explicitly
|
||||
$this->perm->destroyCycles();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user