(self, room, namespace)
Remove all participants from a room.
Remove all participants from a room.
Remove all participants from a room .
def close_room(self, room, namespace):
        """Remove all participants from a room."""
        try:
            for sid, _ in self.get_participants(namespace, room):
                self.leave_room(sid, namespace, room)
        except KeyError:
            pass
def close_room ( self , room , namespace ) : try : for sid , _ in self . get_participants ( namespace , room ) : self . leave_room ( sid , namespace , room ) except KeyError : pass