Skip to content

MacOS embedder deadlocks on shutdown #75566

@knopp

Description

@knopp

This happens when

  1. raster thread schedules swap on platform thread and waits for completion
  2. platform thread is in embedderAPI.Shutdown, which waits for raster thread to finish

The fix is straightforward, when shutting down unblocks FlutterResizeSynchronizer and keep it unblocked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: desktopRunning on desktope: embedderUsers of the Embedder APIengineflutter/engine related. See also e: labels.platform-macBuilding on or for macOS specificallywaiting for PR to land (fixed)A fix is in flight

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions