We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8359e74 commit 9dec141Copy full SHA for 9dec141
src/FileLock.php
@@ -93,7 +93,7 @@ public function release()
93
return;
94
}
95
96
- if($this->remove_on_release && $this->flock(LOCK_EX)) {
+ if ($this->remove_on_release && $this->flock(LOCK_EX | LOCK_NB)) {
97
unlink($this->lock_file);
98
99
0 commit comments