server/utils.py
branchtls-sprint
changeset 1138 22f634977c95
parent 1134 f885df228fc0
child 1802 d628defebc17
--- a/server/utils.py	Mon Mar 23 18:53:53 2009 +0100
+++ b/server/utils.py	Wed Mar 25 10:40:22 2009 +0100
@@ -117,7 +117,7 @@
                 func()
             finally:
                 self.running_threads.remove(self)
-        Thread.__init__(self, target=target)
+        Thread.__init__(self, target=auto_remove_func)
         self.running_threads = running_threads
         self._name = target.__name__