Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@regiskuckaertz
Copy link
Member

Closes #4960

Copy link
Member Author

@regiskuckaertz regiskuckaertz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just left one question. Cannot hurt right?

@regiskuckaertz
Copy link
Member Author

Looks like spurious failures

@regiskuckaertz
Copy link
Member Author

Not spurious after all. @adamgfraser looks like I plugged a leak in the stack tracking stuff. Ready for review sir.

cause2 => ZIO.halt(e.fold(_ ++ cause2, _ => cause2)),
_ => ZIO.done(e)
)
restore(ZIO.effectSuspendTotal(use(a))).run.flatMap(ZIOFn(traceAs = release) { e =>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want restore around use instead of effectSuspendTotal.

@adamgfraser adamgfraser merged commit cea9021 into zio:master Apr 27, 2021
@regiskuckaertz regiskuckaertz deleted the rk-bracket-throw branch November 25, 2023 14:57
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.

Release in bracket does not get eval'd with careless use action

2 participants