summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/DaemonControl.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/Bugzilla/DaemonControl.pm b/Bugzilla/DaemonControl.pm
index 1de8350c1..05aaf8130 100644
--- a/Bugzilla/DaemonControl.pm
+++ b/Bugzilla/DaemonControl.pm
@@ -49,7 +49,10 @@ sub catch_signal {
my $signal = IO::Async::Signal->new(
name => $name,
on_receipt => sub {
+ my ($self) = @_;
+ my $l = IO::Async::Loop->new;
$signal_f->done(@done);
+ $l->remove($self);
}
);
$signal_f->on_cancel(