Loading sjrpc/server/simple.py +6 −2 Original line number Diff line number Diff line Loading @@ -45,7 +45,11 @@ class SimpleRpcServer(ConnectionManager): conn = self._clients.get(fd) self._poll.unregister(fd) if fd is not None: try: del self._clients[fd] except KeyError: pass if conn is not None: conn.shutdown(callback=self._on_disconnect) def all_connections(self): Loading Loading
sjrpc/server/simple.py +6 −2 Original line number Diff line number Diff line Loading @@ -45,7 +45,11 @@ class SimpleRpcServer(ConnectionManager): conn = self._clients.get(fd) self._poll.unregister(fd) if fd is not None: try: del self._clients[fd] except KeyError: pass if conn is not None: conn.shutdown(callback=self._on_disconnect) def all_connections(self): Loading