diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/DaemonControl.pm | 3 |
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( |