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

[Snapping] Remove and delete locator when layer is destroyed #60562

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

troopa81
Copy link
Contributor

@troopa81 troopa81 commented Feb 12, 2025

Fixes #59530 and very likely #59308 and avoid also memory leaks

The issue were happening because a previously created locator were assigned to a new layer having the same address than a now deleted layer.

Funded by GISPO

@github-actions github-actions bot added this to the 3.42.0 milestone Feb 12, 2025
@troopa81 troopa81 added Bug Either a bug report, or a bug fix. Let's hope for the latter! backport release-3_40 labels Feb 12, 2025
Copy link

github-actions bot commented Feb 12, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 59045c6)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 59045c6)

@lbartoletti lbartoletti merged commit 15dca8d into qgis:master Feb 13, 2025
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release-3_40 Bug Either a bug report, or a bug fix. Let's hope for the latter!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vertex tool and snapping stop working when layers are removed and added to the project multiple times
4 participants