From c0f519d8dbd1cc0ca4d30e7ad8ae214501de14a2 Mon Sep 17 00:00:00 2001 From: liamhuber Date: Wed, 8 Nov 2023 14:27:01 -0800 Subject: [PATCH] Remove the reference to the future queue on shutdown It has no impact on the tests here, and without this change the pyiron_workflow tests hang --- pympipool/shared/executorbase.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pympipool/shared/executorbase.py b/pympipool/shared/executorbase.py index 1e8d27dc..f56a349e 100644 --- a/pympipool/shared/executorbase.py +++ b/pympipool/shared/executorbase.py @@ -57,6 +57,7 @@ def shutdown(self, wait=True, *, cancel_futures=False): self._process.join() self._future_queue.join() self._process = None + self._future_queue = None def __len__(self): return self._future_queue.qsize()