def stop ( self , timeout = None ) : logger . debug ( "docker plugin - Close thread for container {}" . format ( self . _container . name ) ) self . _stopper . set ( )
stop a running task in python
Stop the thread .
def stop(self, timeout=None):
        """Stop the thread."""
        logger.debug("docker plugin - Close thread for container {}".format(self._container.name))
        self._stopper.set()