(self)
Stops the loop.
Stops the loop.
Stops the loop .
def stop(self):
        """Stops the loop."""
        self.running = False
        self.callbacks = {}
        self.epoll = epoll()

        self.event_queue = deque()
        self.event_callbacks = defaultdict(set)
def stop ( self ) : self . running = False self . callbacks = { } self . epoll = epoll ( ) self . event_queue = deque ( ) self . event_callbacks = defaultdict ( set )