Skip to content

Windows / desktop_multi_window: Crash when closing app window using Windows close button (X) #225

@zathras

Description

@zathras

On windows, including desktop_multi_window causes a crash when attempting to exit the application by clicking on the OS's "close" button (the X in the upper-right hand corner).

Reproduce Steps

  1. flutter create glorp
  2. cd glorp
  3. edit pubspec.yaml, adding "desktop_multi_window: ^0.2.0" in dependencies
  4. flutter run
  5. (pick windows, that is, not edge)
  6. Wait for window to launch/stabilize
  7. Close by clicking on the X in the upper-right corner
  8. Get windows error dialog: "glorp has stopped working. A problem caused the program yada yada yada"

Expected behavior

No windows error dialog

Version (please complete the following information):

  • Flutter Version: 3.7.7
  • OS: Microsoft Windows 10 Home, version 10.0.19044
  • plugin: desktop_multi_window 0.2.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions