mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +01:00 
			
		
		
		
	handle process exit exceptions
This commit is contained in:
		
							parent
							
								
									9fc3c0dc2f
								
							
						
					
					
						commit
						dcb4255d7e
					
				| @ -45,9 +45,9 @@ class RecordingMaintainer(threading.Thread): | ||||
| 
 | ||||
|         files_in_use = [] | ||||
|         for process in psutil.process_iter(): | ||||
|             if process.name() != 'ffmpeg': | ||||
|                 continue | ||||
|             try: | ||||
|                 if process.name() != 'ffmpeg': | ||||
|                     continue | ||||
|                 flist = process.open_files() | ||||
|                 if flist: | ||||
|                     for nt in flist: | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user