Fixed reconnect crashes
This commit is contained in:
parent
7b2e58c6b2
commit
42916e2da7
1 changed files with 4 additions and 1 deletions
|
|
@ -88,7 +88,10 @@ class ControllerServer():
|
||||||
self.controller.setup()
|
self.controller.setup()
|
||||||
|
|
||||||
if reconnect_address:
|
if reconnect_address:
|
||||||
itr, ctrl = self.reconnect(reconnect_address)
|
try:
|
||||||
|
itr, ctrl = self.reconnect(reconnect_address)
|
||||||
|
except OSError:
|
||||||
|
itr, ctrl = self.connect()
|
||||||
else:
|
else:
|
||||||
itr, ctrl = self.connect()
|
itr, ctrl = self.connect()
|
||||||
finally:
|
finally:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue