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

Skip to content

Conversation

@ItsZil
Copy link

@ItsZil ItsZil commented Oct 23, 2025

PR #806 added protection against circular type forwarders using a reentrancyGuard. However, the instance-level bool field created race conditions when multiple threads resolved the same ExportedType.

This PR adds the [ThreadStatic] attribute to the reentrancyGuard field, ensuring that each thread maintains its own copy of the guard, eliminating race conditions.

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