File: lockUN must remve the file from local stack to allow relocking

This commit is contained in:
2022-04-19 11:06:43 +02:00
parent ffd75a57d4
commit 42766d07a5

View File

@@ -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;
} }