Commit 4ae2b43e authored by Russ Cox's avatar Russ Cox

codereview: fix hang on standard hg commands

R=gri
CC=golang-dev
https://golang.org/cl/1950045
parent e3ac0b5d
......@@ -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):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment