Alexandre Alapetite 2017-07-08 11:03:41 +02:00
parent 84972623f7
commit 080da4777d

View file

@ -161,7 +161,7 @@ class Lock {
return false; return false;
} else { } else {
$success = @sem_release(self::$semaphore[$fn_name]); $success = @sem_release(self::$semaphore[$fn_name]);
self::$semaphore[$fn_name] = 0; unset(self::$semaphore[$fn_name]);
return $success; return $success;
} }
} }