Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix awaiting of globally-scoped forked fibers when the app exits #8796

Merged

Conversation

kyri-petrou
Copy link
Contributor

/fixes #8787

OK this took quite some time to figure out but I managed to get to the bottom of it. It seems that the issue had 2 parts:

  1. The effect executed in main was not uninterruptible
  2. The effect used to interrupt the fiber fork must be excluded when interrupting the globally scoped fibers

@ghostdogpr ghostdogpr merged commit 40a93b2 into zio:series/2.x Apr 27, 2024
20 of 21 checks passed
@kyri-petrou kyri-petrou deleted the fix-daemon-forked-fiber-interruption branch April 27, 2024 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Application doesn't await completion of uninterruptible fibers forked in global scope
2 participants