mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-26 11:59:02 +02:00
backend: close file pointer before unlinking.
This commit is contained in:
parent
46d60592ad
commit
a10c2ed817
|
@ -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");
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user