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

Skip to content

Conversation

@kyri-petrou
Copy link
Contributor

/fixes #10255

There seems to be a race condition that if an interruption occurs right at the point where we call ZIO.async within raceFibersWith that causes the effect to hang as shown in the reproducer because _asyncContWith in the FiberRuntime hasn't been defined yet.

@kyri-petrou kyri-petrou merged commit 5e91e53 into zio:series/2.x Nov 25, 2025
19 checks passed
@kyri-petrou kyri-petrou deleted the fix-timeout-interrupt-race-condition branch November 25, 2025 11:09
@vladimirkl
Copy link
Contributor

@kyri-petrou Thank you very much, any chance to release this fix in coming days?

@kyri-petrou
Copy link
Contributor Author

@vladimirkl I'll create a release either tomorrow or over the weekend :)

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.

Hanging interrupt + timeout since ZIO 2.1.20

4 participants