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

qgsdockablewidgethelper: Prevent crash when closing dock #59481

Merged
merged 1 commit into from
Nov 19, 2024

Commits on Nov 19, 2024

  1. qgisapp: Ensure to properly delete 2D MapCanvasDock

    When closing a 2D canvas dock, QGIS sometimes crashes. This is because
    when the widget helper is closed, the canvas is closed. However, some
    signals of the canvas widget may still be called after it is
    called. Hence, the crash.
    
    This issue is fixed by calling `deleteLater()` instead of `delete` to
    ensure a proper deletion which properly takes into account the
    signals.
    ptitjano committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    da73063 View commit details
    Browse the repository at this point in the history