def _remove_connection(self, connection):
        """[Internal]"""
        with self.mutex:
            self.connections.remove(connection)
            self._on_disconnect(connection.socket)
def _remove_connection ( self , connection ) : with self . mutex : self . connections . remove ( connection ) self . _on_disconnect ( connection . socket )
[Internal]