Skip to content

Commit

Permalink
Merge pull request #193 from pyiron/shutdown
Browse files Browse the repository at this point in the history
Fix interface shutdown
  • Loading branch information
jan-janssen authored Nov 2, 2023
2 parents d79c6d4 + 7d7bd99 commit 823cabb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pympipool/shared/executorbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def shutdown(self, wait=True, *, cancel_futures=False):
cancel_items_in_queue(que=self._future_queue)
self._future_queue.put({"shutdown": True, "wait": wait})
self._process.join()
self._future_queue.join()

def __len__(self):
return self._future_queue.qsize()
Expand Down

0 comments on commit 823cabb

Please sign in to comment.