Skip to content

[desktop-multi-window] Delay to quit a flutter app on Windows #465

@mauricev

Description

@mauricev

I have an example project that uses desktop_multi_window to main three windows, one main and two others. When I click the close box of the main window it sends PostQuitMessage to quit the whole app. This works, but instead of being instantaneous, it takes about 10.5 seconds.

The issues is specific to Windows (11). On Mac Intel Sequoia, the problem is not present.

Reproduce Steps

The example project is at https://github.com/mauricev/flutter_windows_multi_engine_delay_bug

Expected behavior

The app should quit immediately

Version (please complete the following information):

  • Flutter Version: [3.42.0-1.0.pre-290]
  • OS: [(Windows 11 or higher, 25H2, 2009]
  • plugin: [desktop-multi-window: 0.3.0]

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