8000 Allow application to exit on normal completion by kyri-petrou · Pull Request #8811 · zio/zio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Allow application to exit on normal completion #8811

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

Merged
merged 3 commits into from
May 2, 2024

Conversation

kyri-petrou
Copy link
Contributor

The fix in #8796 introduced a bug where the application will only exit when interrupted. e.g., the program below will finish execution but won't exit until it's interrupted externally:

object Foo extends ZIOAppDefault {
  def run = ZIO.unit
}

ghostdogpr
ghostdogpr previously approved these changes May 2, 2024
@ghostdogpr ghostdogpr merged commit 4afafd0 into zio:series/2.x May 2, 2024
@kyri-petrou kyri-petrou deleted the fix-app-exit-bug branch May 2, 2024 13:20
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.

2 participants
0