Skip to content

[Windows] Shutdown engine before destroying the view #124463

@loic-sharma

Description

@loic-sharma

Currently the view destroys itself and its surface before requesting the engine to shutdown. As a result, the raster thread may attempt to draw onto an invalid surface.

Other bugs that may be caused by this issue:

  1. flutter::FlutterWindowsView::PresentSoftwareBitmap crash #121189
  2. b/280880481
    1. b/267637811
    2. b/274005666
    3. b/274005713
    4. b/276531879
    5. b/276532243
  3. b/266035419

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: desktopRunning on desktopplatform-windowsBuilding on or for Windows specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions