Skip to content
This repository was archived by the owner on Dec 3, 2025. It is now read-only.
This repository was archived by the owner on Dec 3, 2025. It is now read-only.

window_size plugin crash during app destroy process #806

@imReker

Description

@imReker

When app is going to destroy (eg, close the window), it'll crash at:

registrar_->UnregisterTopLevelWindowProcDelegate(window_proc_id_);

When RegisterTopLevelWindowProcDelegate, the PluginRegistrarWindows store the delegate in it's member:window_proc_delegates_, and it seems like PluginRegistrarWindows destructed window_proc_delegates_ before destruct the plugin. So, when the plugin tries to UnregisterTopLevelWindowProcDelegate, the std::map is already destroyed and lead to crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions