src/streamlink/stream/segmented.py
def close(self):
        """Shuts down the thread."""
        if not self.closed:
            log.debug("Closing worker thread")

        self.closed = True
        if self._wait:
            self._wait.set()
def close(self):
        """Shuts down the thread."""
        if not self.closed:
            log.debug("Closing worker thread")

        self.closed = True
        if self._wait:
            self._wait.set()
def close ( self ) : if not self . closed : log . debug ( "Closing worker thread" ) self . closed = True if self . _wait : self . _wait . set ( )
Shuts down the thread.
Shuts down the thread .