Skip to content

Commit

Permalink
Commmunicate before termination
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen committed Nov 7, 2023
1 parent 545950a commit c37530e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pympipool/shared/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def generate_command(self, command_lst):
return command_lst

def shutdown(self, wait=True):
self._process.communicate()
self._process.terminate()
if wait:
self._process.wait()
Expand Down

0 comments on commit c37530e

Please sign in to comment.