Skip to content

Commit c2b7af4

Browse files
committed
fix
1 parent 9d6ee4d commit c2b7af4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/executorlib/task_scheduler/file/shared.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def execute_tasks_h5(
100100
for key, value in memory_dict.items()
101101
if not value.done()
102102
}
103-
if task_dict["cancel_futures"] and cancel_futures_on_shutdown:
103+
if task_dict["cancel_futures"] or cancel_futures_on_shutdown:
104104
if (
105105
terminate_function is not None
106106
and terminate_function == terminate_subprocess

0 commit comments

Comments
 (0)