Skip to content

Commit

Permalink
Add flux executor shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 6, 2024
1 parent d85a615 commit dae373d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions executorlib/interactive/flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ def shutdown(self, wait: bool = True):
# still showing running after cancel was called,
# so we wait until the execution is completed.
self._future.result()
# shutdown flux executor
if self._flux_executor is not None:
self._flux_executor.shutdown(wait=wait)

def poll(self):
"""
Expand Down

0 comments on commit dae373d

Please sign in to comment.