flutter-plugins: App crashes on closing child window when using window_manager (windows 10)

Whenever I try to use the window_manager package, the app crashes as soon as I try to interact with the main window after closing a child window. Both in debug and release mode.

I’m using Flutter 3.3.8 stable.

I attached the minimal code to reproduce: window_manager_crash.zip

About this issue

Most upvoted comments

@LucaCoduriV Yes, and follow the example usage at rustdesk_desktop_multi_window. You will need to look at how the sub window is closed in the main.dart.

I have not tried transparency.

But if you don’t use the window_manager package, it can work normally