- 
        Couldn't load subscription status. 
- Fork 1.4k
Handle careless use in bracket #4961
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
Conversation
There was a problem hiding this 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?
| Looks like spurious failures | 
| 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 => | 
There was a problem hiding this comment.
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.
Closes #4960