Daemonize all threads to avoid breaking IOLoop exception handling (i.e tornado)
This commit is contained in:
		@@ -9,7 +9,7 @@ from .deque import Deque
 | 
			
		||||
 | 
			
		||||
class PipeWriterThread(Thread):
 | 
			
		||||
    def __init__(self, pipe_path, stop_event):
 | 
			
		||||
        super().__init__()
 | 
			
		||||
        super().__init__(daemon=True)
 | 
			
		||||
        self._pipe_path = pipe_path
 | 
			
		||||
        self._stop_event = stop_event
 | 
			
		||||
        self._write_queue = Deque()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user