fix exit-helper

This commit is contained in:
harisreedhar
2025-11-23 08:25:55 +05:30
committed by henryruhs
parent 5ca7f3d0dc
commit c670170be3
+2 -2
View File
@@ -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)