Commit 0eb0a407 authored by Jim Fulton's avatar Jim Fulton

The rpc manager can be called from the client loop if there is an error in
the client loop.
parent 625bd94f
...@@ -217,7 +217,10 @@ class ConnectionManager(object): ...@@ -217,7 +217,10 @@ class ConnectionManager(object):
self.map.clear() self.map.clear()
self.trigger.pull_trigger() self.trigger.pull_trigger()
self.loop_thread.join(9) try:
self.loop_thread.join(9)
except RuntimeError:
pass # we are the thread :)
self.trigger.close() self.trigger.close()
def attempt_connect(self): def attempt_connect(self):
......
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