Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment