From c670170be32cd793d70d4d0de86703e18cd00789 Mon Sep 17 00:00:00 2001 From: harisreedhar Date: Sun, 23 Nov 2025 08:25:55 +0530 Subject: [PATCH] fix exit-helper --- facefusion/exit_helper.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/facefusion/exit_helper.py b/facefusion/exit_helper.py index cdf66cca..1486f1ed 100644 --- a/facefusion/exit_helper.py +++ b/facefusion/exit_helper.py @@ -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)