aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-05 17:45:33 -0700
committerFriendika <info@friendika.com>2011-07-05 17:45:33 -0700
commit1a4a6b5ff90d0d557ed6ea1a1045f9713c83bbbd (patch)
tree7256cb1261a657cac71684aeda01e967984da1fd /boot.php
parent308d98f7ac7d72bbaaeb02d7acc228d856c9d660 (diff)
downloadvolse-hubzilla-1a4a6b5ff90d0d557ed6ea1a1045f9713c83bbbd.tar.gz
volse-hubzilla-1a4a6b5ff90d0d557ed6ea1a1045f9713c83bbbd.tar.bz2
volse-hubzilla-1a4a6b5ff90d0d557ed6ea1a1045f9713c83bbbd.zip
explicitly close db connections - do not rely on process exit
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index c95e24dc1..5efba4acc 100644
--- a/boot.php
+++ b/boot.php
@@ -989,6 +989,7 @@ function autoname($len) {
if(! function_exists('killme')) {
function killme() {
session_write_close();
+ closedb();
exit;
}}