You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 3, 2025. It is now read-only.
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.
When app is going to destroy (eg, close the window), it'll crash at:
flutter-desktop-embedding/plugins/window_size/windows/window_size_plugin.cpp
Line 181 in 8ea9f1c
When
RegisterTopLevelWindowProcDelegate, thePluginRegistrarWindowsstore the delegate in it's member:window_proc_delegates_, and it seems likePluginRegistrarWindowsdestructedwindow_proc_delegates_before destruct the plugin. So, when the plugin tries toUnregisterTopLevelWindowProcDelegate, the std::map is already destroyed and lead to crash.