aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-06-25 05:23:11 +0000
committermkanat%bugzilla.org <>2008-06-25 05:23:11 +0000
commit7966784cd38a2677c31f9fc5497e1250a34a5adf (patch)
tree0f83dd0b1c62c86fec66c94b5d9fcc9b985cc0b4
parentBug 438739: Permissions are not set properly on extensions by checksetup (diff)
downloadbugzilla-7966784cd38a2677c31f9fc5497e1250a34a5adf.tar.gz
bugzilla-7966784cd38a2677c31f9fc5497e1250a34a5adf.tar.bz2
bugzilla-7966784cd38a2677c31f9fc5497e1250a34a5adf.zip
Bug 441592: DB connections not closing under mod_perl
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=dkl, a=mkanat
-rw-r--r--mod_perl.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod_perl.pl b/mod_perl.pl
index bd6ef1002..e7067f385 100644
--- a/mod_perl.pl
+++ b/mod_perl.pl
@@ -100,10 +100,12 @@ sub handler : method {
package Bugzilla::ModPerl::CleanupHandler;
use strict;
use Apache2::Const -compile => qw(OK);
+use Bugzilla;
sub handler {
my $r = shift;
+ Bugzilla::_cleanup();
# Sometimes mod_perl doesn't properly call DESTROY on all
# the objects in pnotes()
foreach my $key (keys %{$r->pnotes}) {