Skip to content

Commit 0cf681e

Browse files
committed
Keep interface alive after crash
1 parent e05297e commit 0cf681e

File tree

1 file changed

+0
-2
lines changed
  • executorlib/task_scheduler/interactive

1 file changed

+0
-2
lines changed

executorlib/task_scheduler/interactive/shared.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ def _execute_task_without_cache(
7474
try:
7575
future_obj.set_result(interface.send_and_receive_dict(input_dict=task_dict))
7676
except Exception as thread_exception:
77-
interface.shutdown(wait=True)
7877
future_obj.set_exception(exception=thread_exception)
7978

8079

@@ -116,7 +115,6 @@ def _execute_task_with_cache(
116115
dump(file_name=file_name, data_dict=data_dict)
117116
future_obj.set_result(result)
118117
except Exception as thread_exception:
119-
interface.shutdown(wait=True)
120118
future_obj.set_exception(exception=thread_exception)
121119
else:
122120
_, _, result = get_output(file_name=file_name)

0 commit comments

Comments
 (0)