summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-02-03 15:38:12 +0100
committerDylan William Hardison <dylan@hardison.net>2017-02-03 15:42:13 +0100
commitdc479382176a0638fb978149e91c258ec9af6c28 (patch)
tree9c513efbfbd605a0dbd7a8d4cc1c723e4ba5f9b2 /Bugzilla
parent1cb4e01a265c94284a08b8df6555b6932fc37b73 (diff)
downloadbugzilla-dc479382176a0638fb978149e91c258ec9af6c28.tar.gz
bugzilla-dc479382176a0638fb978149e91c258ec9af6c28.tar.xz
Bug 1335233 - Fix some memory leaks in jobqueue code
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/JobQueue.pm2
1 files changed, 2 insertions, 0 deletions
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(@_);
}