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

[Backport queued_ltr_backports] Fix a use after free issue in app cleanup #53418

Merged

Conversation

qgis-bot
Copy link
Collaborator

@qgis-bot qgis-bot commented Jun 9, 2023

Backport #53414
Authored by: @nyalldawson

The project and layertree were being destroyed before the
layer tree view was being removed, which meant that in some
circumstances the view would attempt to read previously
destroyed layer tree nodes

Explicitly delete the layer tree view before we cleanup
QgsApplication to avoid this.
@github-actions github-actions bot added this to the 3.32.0 milestone Jun 9, 2023
@rouault rouault merged commit 71b609c into queued_ltr_backports Jun 9, 2023
27 checks passed
@rouault rouault deleted the backport-53414-to-queued_ltr_backports branch June 9, 2023 15:45
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.

None yet

3 participants