Skip to content
Snippets Groups Projects
Commit 07fc5289 authored by Guido Trotter's avatar Guido Trotter
Browse files

Mainloop: init sigchld_handler as None

There is no point in initializing sigchld_handler as an empty dict, when
it will be overwritten by an instance of utils.SignalHandler
immediately after.

Reviewed-by: iustinp
parent 5d8d232c
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ class Mainloop(object):
def __init__(self):
self._io_wait = []
self._signal_wait = []
self.sigchld_handler = {}
self.sigchld_handler = None
def Run(self):
# TODO: Does not yet support adding new event sources while running
......
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