diff options
author | Dylan William Hardison <dylan@hardison.net> | 2018-03-06 01:30:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-06 01:30:35 +0100 |
commit | b98297ba59d43470680c9d3f21994214c63bd005 (patch) | |
tree | e743bbe02f42935ea8bca23e835602b4a877dbc0 /Bugzilla | |
parent | b588eea89a5cdd24ee5a3f00a12e71b8a096660e (diff) | |
download | bugzilla-b98297ba59d43470680c9d3f21994214c63bd005.tar.gz bugzilla-b98297ba59d43470680c9d3f21994214c63bd005.tar.xz |
Bug 1441181 - Step 7 - Fix bug in catch_signal()
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( |