backend: close file pointer before unlinking.
This commit is contained in:
parent
46d60592ad
commit
a10c2ed817
1 changed files with 4 additions and 0 deletions
|
@ -120,6 +120,10 @@
|
|||
}
|
||||
|
||||
db_close($link);
|
||||
|
||||
if ($lock_handle != false) {
|
||||
fclose($lock_handle);
|
||||
}
|
||||
|
||||
unlink(LOCK_DIRECTORY . "/$lock_filename");
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue