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(geometry_checker): do not call crs() on layer from another thread #58291

Merged

Conversation

Djedouas
Copy link
Member

@Djedouas Djedouas commented Aug 1, 2024

Description

Following #58259 to use thread-safe QgsFeaturePool::crs() method instead of QgsMapLayer::crs() in another thread than the layer lives in.

Created a cheap QgsGeometryCheckerUtils::LayerFeature::layerCrs() method for this purpose.

@github-actions github-actions bot added this to the 3.40.0 milestone Aug 1, 2024
@Djedouas Djedouas force-pushed the fix-thread-crs-calls-geometry-checker branch from f82ce0f to 6821000 Compare August 1, 2024 15:19
Copy link

github-actions bot commented Aug 1, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 6821000)

@nyalldawson nyalldawson merged commit fa961c7 into qgis:master Aug 1, 2024
28 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