Skip to content

Commit

Permalink
ignore errors in daemon plotter process cleanup (#19025)
Browse files Browse the repository at this point in the history
ignore errors in general cleanup
  • Loading branch information
emlowe authored Dec 18, 2024
1 parent c6a6c0b commit 8a56aa1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion chia/daemon/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,10 @@ 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)
try:
self.services[service_name].remove(current_process)
except KeyError:
pass
current_process.wait() # prevent zombies
self._run_next_serial_plotting(loop, queue)

Expand Down

0 comments on commit 8a56aa1

Please sign in to comment.