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

Skip to content

Conversation

@kyri-petrou
Copy link
Contributor

There is a rare race condition where the error in ZChannel.mapOutZIOPar* methods is not propagated due to a Done signal winning the race against the errorSignal. This PR fixes it by checking that the errors in the failure Ref are empty prior to succeeding the ZChannel

@kyri-petrou kyri-petrou merged commit f47002d into zio:series/2.x Dec 8, 2024
17 checks passed
@kyri-petrou kyri-petrou deleted the fix-race-condition-par-zchannel-error branch December 8, 2024 05:12
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.

1 participant