Skip to content

[CP] [Windows] Fix headless mode crash #116932

Closed
@loic-sharma

Description

@loic-sharma

issue_link

#116753

Commit Hash

flutter/engine@2148fc0

Target

beta

pr_link

flutter/engine#38233

Impacted Users

Windows developers that use headless mode.

Impact Description

Flutter Windows crashes immediately if it started in headless mode.

Workaround

Yes. The crash is caused due to incorrectly handling no Dart entry point. This can be circumvented by providing an empty entry point manually.

Risk

low

Test Coverage

yes

Validation Steps

Verify that a Windows Flutter app does not crash if it has no Dart entry point.

Metadata

Metadata

Assignees

No one assigned

    Labels

    cp: approvedApproved cherry-pick requestcp: merge-to-betaCherry-picks that should be merged to betacp: reviewCherry-picks in the review queue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions