Merge pull request #14 from vertecx/master
Close pointer to lock file before unlinking
This commit is contained in:
commit
e6f1a1b747
|
@ -120,6 +120,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
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