Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Conversation

@everhardt
Copy link

fixes #320

I could not identify a reason why child.disconnect() is needed at all:

  • If willTerminate === false, the chill will be killed anyway (and Fix: immediate recompilation #256 is also suggesting it is not needed there).
  • If willTerminate === true, the child might need to require new files, for which the IPC is needed, so there we cannot disconnect. When the client exists, the IPC is disconnected anyway.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Channel closed" error in child on graceful shutdown after SIGTERM

1 participant