Skip to content

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

Open

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

Activity

  1. added
    toolAffects the "flutter" command-line tool. See also t: labels.
    platform-linuxBuilding on or for Linux specifically
    P3Issues that are less important to the Flutter project
    on Oct 18, 2023
  2. gspencergoog commented on Oct 19, 2023

    @gspencergoog
    Contributor

    There was also a second patch where we added a startup hook to the template, which should also be part of this migration.

  3. added
    team-linuxOwned by the Linux platform team
    and removed on Jun 6, 2024
  4. flutter-triage-bot commented on Jun 6, 2024

    @flutter-triage-bot

    The triaged-desktop label is irrelevant if there is no team-desktop label or fyi-desktop label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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