--- a/ProcessLogger.py Tue May 08 17:16:37 2012 +0200
+++ b/ProcessLogger.py Tue May 08 17:48:47 2012 +0200
@@ -131,7 +131,11 @@
- Timer(timeout,self.endlog).start()
+ self.timeout = Timer(timeout,self.endlog) @@ -154,6 +158,7 @@
self.logger.write_warning(_("exited with status %s (pid %s)\n")%(str(ecode),str(pid)))
def finish(self, pid,ecode):
+ if self.timeout: self.timeout.cancel() self.log_the_end(ecode,pid)