mirror of
https://github.com/facefusion/facefusion.git
synced 2026-10-11 08:08:59 +02:00
fix exit-helper
This commit is contained in:
1 parent
7b1570dc3f
commit
d224e47d38
1 file changed
+2
-2
@@ -28,7 +28,7 @@ def graceful_exit(error_code : ErrorCode) -> None:
|
||||
while process_manager.is_processing():
|
||||
sleep(0.5)
|
||||
|
||||
if state_manager.get_item('target_path'):
|
||||
clear_temp_directory(state_manager.get_item('target_path'))
|
||||
if state_manager.get_item('output_path'):
|
||||
clear_temp_directory(state_manager.get_item('output_path'))
|
||||
|
||||
hard_exit(error_code)
|
||||
Reference in new issue
Block a user