aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/codereview/codereview.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/codereview/codereview.py b/lib/codereview/codereview.py
index 3d87f298f4..4b03b085f2 100644
--- a/lib/codereview/codereview.py
+++ b/lib/codereview/codereview.py
@@ -457,7 +457,9 @@ class StatusThread(threading.Thread):
print >>sys.stderr, time.asctime(), s
def start_status_thread():
- StatusThread().start()
+ t = StatusThread()
+ t.setDaemon(True) # allowed to exit if t is still running
+ t.start()
class LoadCLThread(threading.Thread):
def __init__(self, ui, repo, dir, f, web):