Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error when converting multiple units parallel with the same UnitConverter instance #7623

Merged
merged 4 commits into from
Jan 30, 2025

Conversation

StefanApfel-Bentley
Copy link
Contributor

@StefanApfel-Bentley StefanApfel-Bentley commented Jan 28, 2025

When running multiple unit conversions parallel using the same UnitConverter instance, the conversion failed because the UnitGraph used in the converter is returning an intermediate result when called again before a unit preperation has been completed. This results in incomplete unit graphs.

@StefanApfel-Bentley StefanApfel-Bentley merged commit 2718c66 into master Jan 30, 2025
16 checks passed
@StefanApfel-Bentley StefanApfel-Bentley deleted the fix-parallel-unit-conversion branch January 30, 2025 15:43
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.

ecschema-metadata: Race condition when creating FormatterSpec
2 participants