Commit a9fe7232 authored by Guido Trotter's avatar Guido Trotter
Browse files

Pass the correct signal to handlers



Mainloop currently calls all handlers with the signal number harcoded to
sigchild. Fixing this.
Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarOlivier Tharan <olive@google.com>
parent 73b90123
......@@ -215,7 +215,7 @@ class Mainloop(object):
"""
for owner in self._signal_wait:
owner.OnSignal(signal.SIGCHLD)
owner.OnSignal(signum)
def RegisterIO(self, owner, fd, condition):
"""Registers a receiver for I/O notifications
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment