log : added timeout to avoid deadlocks on daemon join
This commit is contained in:
		@@ -218,5 +218,5 @@ def __exit__(self, exc_type, exception, traceback):
 | 
			
		||||
    def __del__(self):
 | 
			
		||||
        """Closes the pipes and joins the daemon"""
 | 
			
		||||
        os.close(self.write)
 | 
			
		||||
        self.p.join()
 | 
			
		||||
        self.p.join(60.0)  # 1 minute to join the daemonic child
 | 
			
		||||
        os.close(self.read)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user