def stop(self):
        """Release all threads and run all 'stop_thread' listeners."""
        for thread_ident, i in self.threads.items():
            self.bus.publish('stop_thread', i)
        self.threads.clear()
Release all threads and run all 'stop_thread' listeners.
cherrypy/process/plugins.py