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

Skip to content

Conversation

@vladimirkl
Copy link
Contributor

@vladimirkl vladimirkl commented Mar 15, 2025

Fixes #9693. The cause of this issue is that current timeoutTo implementation inherits FiberRef values from winner / loser before interruption - not catching reset to original value in FiberRef#locally. This PR moves inheritAll after interruptAs

@vladimirkl vladimirkl marked this pull request as ready for review March 15, 2025 18:01
Copy link
Contributor

@kyri-petrou kyri-petrou left a comment

Choose a reason for hiding this comment

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

Thanks!

@kyri-petrou kyri-petrou merged commit 46e2a51 into zio:series/2.x Mar 17, 2025
18 checks passed
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.

FiberRef#locally doesn't restore value when interrupted with timeout

3 participants