File: lockUN must remve the file from local stack to allow relocking
This commit is contained in:
@@ -507,6 +507,7 @@ class File
|
|||||||
{
|
{
|
||||||
$res = flock ($this->locks[$filename], LOCK_UN);
|
$res = flock ($this->locks[$filename], LOCK_UN);
|
||||||
fclose ($this->locks[$filename]);
|
fclose ($this->locks[$filename]);
|
||||||
|
unset($this->locks[$filename]);
|
||||||
}
|
}
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user