diff --git a/src/executorlib/task_scheduler/base.py b/src/executorlib/task_scheduler/base.py index bba2622a..c6719753 100644 --- a/src/executorlib/task_scheduler/base.py +++ b/src/executorlib/task_scheduler/base.py @@ -234,4 +234,4 @@ def __del__(self): Clean-up the resources associated with the Executor. """ with contextlib.suppress(AttributeError, RuntimeError): - self.shutdown(wait=False) + self.shutdown(wait=True)