Fix bug where I'd accidentally override threading.Thread internals
This commit is contained in:
		@@ -47,14 +47,14 @@ class PipeIOServer(ABC, Thread):
 | 
			
		||||
        for thread in self._io_threads:
 | 
			
		||||
            thread.start()
 | 
			
		||||
        self._stop_event.wait()
 | 
			
		||||
        self._stop()
 | 
			
		||||
        self._stop_threads()
 | 
			
		||||
 | 
			
		||||
    def stop(self):
 | 
			
		||||
        self._stop_event.set()
 | 
			
		||||
        if self.is_alive():
 | 
			
		||||
            self.join()
 | 
			
		||||
 | 
			
		||||
    def _stop(self):
 | 
			
		||||
    def _stop_threads(self):
 | 
			
		||||
        for thread in self._io_threads:
 | 
			
		||||
            if thread.is_alive():
 | 
			
		||||
                thread.stop()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user