Skip to content

Commit

Permalink
wait to end of process to avoid zombies (#3160)
Browse files Browse the repository at this point in the history
  • Loading branch information
wjblanke authored Apr 30, 2021
1 parent 44728ff commit 33a0c4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chia/daemon/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ async def _start_plotting(self, id: str, loop: asyncio.AbstractEventLoop, queue:
finally:
if current_process is not None:
self.services[service_name].remove(current_process)
current_process.wait() # prevent zombies
self._run_next_serial_plotting(loop, queue)

async def start_plotting(self, request: Dict[str, Any]):
Expand Down

0 comments on commit 33a0c4c

Please sign in to comment.