mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 13:35:56 +00:00
backend: close file pointer before unlinking.
This commit is contained in:
@@ -120,6 +120,10 @@
|
||||
}
|
||||
|
||||
db_close($link);
|
||||
|
||||
if ($lock_handle != false) {
|
||||
fclose($lock_handle);
|
||||
}
|
||||
|
||||
unlink(LOCK_DIRECTORY . "/$lock_filename");
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user