another windows sighandler fix
This commit is contained in:
parent
e65f127571
commit
9a45e26026
@ -182,6 +182,7 @@ class SvcHub(object):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
self.shutdown()
|
self.shutdown()
|
||||||
|
thr.join()
|
||||||
else:
|
else:
|
||||||
self.stop_thr()
|
self.stop_thr()
|
||||||
|
|
||||||
@ -206,6 +207,9 @@ class SvcHub(object):
|
|||||||
|
|
||||||
self.stopping = True
|
self.stopping = True
|
||||||
self.stop_req = True
|
self.stop_req = True
|
||||||
|
with self.stop_cond:
|
||||||
|
self.stop_cond.notify_all()
|
||||||
|
|
||||||
ret = 1
|
ret = 1
|
||||||
try:
|
try:
|
||||||
with self.log_mutex:
|
with self.log_mutex:
|
||||||
|
Loading…
Reference in New Issue
Block a user