From dc479382176a0638fb978149e91c258ec9af6c28 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 3 Feb 2017 09:38:12 -0500 Subject: Bug 1335233 - Fix some memory leaks in jobqueue code --- Bugzilla/JobQueue.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Bugzilla/JobQueue.pm') diff --git a/Bugzilla/JobQueue.pm b/Bugzilla/JobQueue.pm index a5d8737b2..8540d12ed 100644 --- a/Bugzilla/JobQueue.pm +++ b/Bugzilla/JobQueue.pm @@ -147,6 +147,8 @@ sub set_pidfile { # Clear the request cache at the start of each run. sub work_once { my $self = shift; + Bugzilla::Hook::process('request_cleanup'); + Bugzilla::Bug->CLEANUP; Bugzilla->clear_request_cache(); return $self->SUPER::work_once(@_); } -- cgit v1.2.3-24-g4f1b