Merge pull request #96 from DirectXMan12/master

Enable Process Reaping in All Conditions
This commit is contained in:
Joel Martin 2013-09-27 06:05:55 -07:00
commit bff3c373b3
1 changed files with 1 additions and 3 deletions

View File

@ -754,9 +754,7 @@ Sec-WebSocket-Accept: %s\r
# Allow override of SIGINT
signal.signal(signal.SIGINT, self.do_SIGINT)
if not multiprocessing:
# os.fork() (python 2.4) child reaper
signal.signal(signal.SIGCHLD, self.fallback_SIGCHLD)
signal.signal(signal.SIGCHLD, self.fallback_SIGCHLD)
last_active_time = self.launch_time
while True: