Commit 3be224ab authored by Anael Beutot's avatar Anael Beutot
Browse files

Shutdown RPC connection in case of error in async callback.

parent f49fbe28
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -117,6 +117,7 @@ class RPCStartHandler(Thread):
                logger.exception('Unexpected exception while authenticating')

            self.stop()
            self.rpc_con.shutdown()
            self.loop.restart_rpc_connection()

    def auth_done_cb(self, call_id, response=None, error=None):