We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 957170b commit 5a59a1dCopy full SHA for 5a59a1d
executorlib/task_scheduler/file/shared.py
@@ -86,6 +86,16 @@ def execute_tasks_h5(
86
with contextlib.suppress(queue.Empty):
87
task_dict = future_queue.get_nowait()
88
if task_dict is not None and "shutdown" in task_dict and task_dict["shutdown"]:
89
+ while len(memory_dict) > 0:
90
+ memory_dict = {
91
+ key: _check_task_output(
92
+ task_key=key,
93
+ future_obj=value,
94
+ cache_directory=cache_dir_dict[key],
95
+ )
96
+ for key, value in memory_dict.items()
97
+ if not value.done()
98
+ }
99
if terminate_function is not None:
100
for task in process_dict.values():
101
terminate_function(task=task)
0 commit comments