Loading sjrpc/core/protocols/__init__.py +6 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,12 @@ class Protocol(object): pass def shutdown(self): pass """ Shutdown the protocol. By default this method unregister the protocol from the connection. """ if self._label != 0: # Label 0 protocol can't be shutdown. self._connection.unregister_protocol(self._label) from sjrpc.core.protocols.rpc import RpcProtocol Loading Loading
sjrpc/core/protocols/__init__.py +6 −1 Original line number Diff line number Diff line Loading @@ -83,7 +83,12 @@ class Protocol(object): pass def shutdown(self): pass """ Shutdown the protocol. By default this method unregister the protocol from the connection. """ if self._label != 0: # Label 0 protocol can't be shutdown. self._connection.unregister_protocol(self._label) from sjrpc.core.protocols.rpc import RpcProtocol Loading