From 7966784cd38a2677c31f9fc5497e1250a34a5adf Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 25 Jun 2008 05:23:11 +0000 Subject: [PATCH] Bug 441592: DB connections not closing under mod_perl Patch By Max Kanat-Alexander r=dkl, a=mkanat --- mod_perl.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mod_perl.pl b/mod_perl.pl index bd6ef1002e..e7067f3853 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}) { -- 2.47.2