Loading sjrpc/core/rpcconnection.py +4 −1 Original line number Diff line number Diff line Loading @@ -350,7 +350,10 @@ class RpcConnection(object): :type callback: :class:`str` or callable or None ''' try: self._sock.close() except socket.error as err: logging.warning('Error while socket close: %s.', err) # Release all running calls from this connection: for call in self._calls.values(): Loading Loading
sjrpc/core/rpcconnection.py +4 −1 Original line number Diff line number Diff line Loading @@ -350,7 +350,10 @@ class RpcConnection(object): :type callback: :class:`str` or callable or None ''' try: self._sock.close() except socket.error as err: logging.warning('Error while socket close: %s.', err) # Release all running calls from this connection: for call in self._calls.values(): Loading