Removed pthreads workarounds

This commit is contained in:
Shoghi Cervantes
2014-09-10 15:11:56 +02:00
parent 8c939feed9
commit f4ae58dda2
5 changed files with 10 additions and 5 deletions

View File

@ -433,6 +433,7 @@ class PluginManager{
*/
public function unsubscribeFromPermission($permission, Permissible $permissible){
if(isset($this->permSubs[$permission])){
$this->permSubs[$permission][spl_object_hash($permissible)]->release();
unset($this->permSubs[$permission][spl_object_hash($permissible)]);
}
}