mirror of
https://github.com/golang/go.git
synced 2025-11-06 11:40:59 +00:00
codereview: fix hang on standard hg commands
R=gri CC=golang-dev https://golang.org/cl/1950045
This commit is contained in:
parent
e3ac0b5d3f
commit
4ae2b43ef2
1 changed files with 3 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue