From 73f5a589ae72608ad79440f2442765b470713c35 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Tue, 11 Aug 2009 00:54:07 -0400 Subject: [PATCH] Make ajaxterm play nicely with CherryPy svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2749 --- code/ajaxterm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ajaxterm.py b/code/ajaxterm.py index 2b4ff44..dd7e5b8 100644 --- a/code/ajaxterm.py +++ b/code/ajaxterm.py @@ -368,10 +368,10 @@ class SynchronizedMethod: class Multiplex: def __init__(self): - signal.signal(signal.SIGCHLD, signal.SIG_IGN) self.proc={} self.lock=threading.RLock() self.thread=threading.Thread(target=self.loop) + self.thread.daemon=True self.alive=1 # synchronize methods for name in ['create','fds','proc_read','proc_write','dump','die','run']: -- 1.7.9.5