mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:45:55 +00:00
Merge pull request #14 from vertecx/master
Close pointer to lock file before unlinking
This commit is contained in:
@@ -121,5 +121,9 @@
|
|||||||
|
|
||||||
db_close($link);
|
db_close($link);
|
||||||
|
|
||||||
|
if ($lock_handle != false) {
|
||||||
|
fclose($lock_handle);
|
||||||
|
}
|
||||||
|
|
||||||
unlink(LOCK_DIRECTORY . "/$lock_filename");
|
unlink(LOCK_DIRECTORY . "/$lock_filename");
|
||||||
?>
|
?>
|
||||||
|
|||||||
Reference in New Issue
Block a user