Skip to content

Author tool migration to update existing Linux runners to add application shutdown handler #136783

@cbracken

Description

@cbracken

In #136780, @robert-ancell landed a tweak to the template that registers a no-op application shutdown handler so that Flutter developers are aware where they should add any code to be executed on application shutdown.

While it isn't strictly necessary to update older projects to have this code, it's a nice convenience. As such this is somewhat low priority.

The migration would apply the above-mentioned patch to the application's Linux runner, unless G_APPLICATION_CLASS(klass)->shutdown is already set in the project.

Parent issue: #136582

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projecta: desktopRunning on desktopplatform-linuxBuilding on or for Linux specificallyteam-linuxOwned by the Linux platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-linuxTriaged by the Linux platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions