backend: close file pointer before unlinking.

This commit is contained in:
Petter Jnsson 2011-12-07 01:17:23 +01:00
parent 46d60592ad
commit a10c2ed817

View file

@ -121,5 +121,9 @@
db_close($link);
if ($lock_handle != false) {
fclose($lock_handle);
}
unlink(LOCK_DIRECTORY . "/$lock_filename");
?>