Skip to content

Conversation

@devlead
Copy link
Owner

@devlead devlead commented Nov 20, 2025

  • Introduce _lock field with conditional compilation:
    • Use Lock type for .NET 9.0 and greater
    • Fallback to object for older framework versions
  • Refactor InitializeRoutesFromResource to use local static GetRoutes method
  • Wrap _routes initialization in lock to prevent race conditions

…king

- Introduce _lock field with conditional compilation:
  - Use Lock type for .NET 9.0 and greater
  - Fallback to object for older framework versions
- Refactor InitializeRoutesFromResource to use local static GetRoutes method
- Wrap _routes initialization in lock to prevent race conditions
@devlead devlead merged commit b073715 into develop Nov 20, 2025
3 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.

2 participants