Hide semaphone warning
https://github.com/friendica/friendica/issues/3553
This commit is contained in:
parent
f846233a6b
commit
4eaa6b94a6
|
@ -157,8 +157,7 @@ class Lock {
|
|||
*/
|
||||
public static function remove($fn_name) {
|
||||
if (function_exists('sem_get') && self::$semaphore[$fn_name]) {
|
||||
sem_release(self::$semaphore[$fn_name]);
|
||||
return;
|
||||
return @sem_release(self::$semaphore[$fn_name]);
|
||||
}
|
||||
|
||||
$memcache = self::connectMemcache();
|
||||
|
|
Loading…
Reference in New Issue
Block a user