X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fsbin%2Fstandalone_httpd.in;h=5bd8f3ed2c58bfd3d6a6d6b599d93f1768a73f47;hp=0d11f0124e8b44c12f48eb79f956e17287fe6671;hb=0ea23112cfa0d82738b0f08d60d90579721b7524;hpb=60dd95422a1ad4724e0c5d9dd7f8e8878cd96aa8 diff --git a/rt/sbin/standalone_httpd.in b/rt/sbin/standalone_httpd.in index 0d11f0124..5bd8f3ed2 100644 --- a/rt/sbin/standalone_httpd.in +++ b/rt/sbin/standalone_httpd.in @@ -138,6 +138,7 @@ EOF # we must disconnect DB before fork if ($RT::Handle) { + $RT::Handle->dbh->disconnect if $RT::Handle->dbh; $RT::Handle->dbh(undef); undef $RT::Handle; }