Skip to content

Commit dc47938

Browse files
committed
Bug 1335233 - Fix some memory leaks in jobqueue code
1 parent 1cb4e01 commit dc47938

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Bugzilla/JobQueue.pm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ sub set_pidfile {
147147
# Clear the request cache at the start of each run.
148148
sub work_once {
149149
my $self = shift;
150+
Bugzilla::Hook::process('request_cleanup');
151+
Bugzilla::Bug->CLEANUP;
150152
Bugzilla->clear_request_cache();
151153
return $self->SUPER::work_once(@_);
152154
}

0 commit comments

Comments
 (0)