Commit 4a01afec authored by Sebastien Robin's avatar Sebastien Robin

addWatch is not mandatory, so do not assume a watcher is enabled

parent 3110a3df
...@@ -347,7 +347,8 @@ class TestResultProxy(RPCRetry): ...@@ -347,7 +347,8 @@ class TestResultProxy(RPCRetry):
with cond: with cond:
self._watcher_can_run = False self._watcher_can_run = False
cond.notify() cond.notify()
self._watcher_thread.join() if self._watcher_thread is not None:
self._watcher_thread.join()
class ServerProxy(xmlrpclib.ServerProxy): class ServerProxy(xmlrpclib.ServerProxy):
......
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