mirror of
https://github.com/facefusion/facefusion.git
synced 2026-09-22 23:40:44 +02:00
Part 2
This commit is contained in:
@@ -28,7 +28,7 @@ def graceful_exit(error_code : ErrorCode) -> None:
|
||||
while process_manager.is_processing():
|
||||
sleep(0.5)
|
||||
|
||||
if state_manager.get_item('output_path'):
|
||||
if state_manager.get_item('output_path') and not state_manager.get_item('keep_temp'):
|
||||
clear_temp_directory(state_manager.get_item('output_path'), state_manager.get_item('temp_path'))
|
||||
|
||||
hard_exit(error_code)
|
||||
|
||||
Reference in New Issue
Block a user