8000 Allow application to exit on normal completion by kyri-petrou · Pull Request #8811 · zio/zio · GitHub
[go: up one dir, main page]

Skip to content

Allow application to exit on normal completion - #8811

Merged
ghostdogpr merged 3 commits into
zio:series/2.xfrom
kyri-petrou:fix-app-exit-bug
May 2, 2024
Merged

ghostdogpr merged 3 commits into
zio:series/2.xfrom
kyri-petrou:fix-app-exit-bug

Conversation

@kyri-petrou
Copy link
Copy Markdown
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
4CF6

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0