Skip to content

Under multiple engines, destroying the page will not trigger dispose #136885

@yangha886

Description

@yangha886

Is there an existing issue for this?

Use case

Flutter (Channel stable, 3.13.1)

Under multiple engines, destroying the page will not trigger dispose

It can be reproduced in the official 'multiple_flutters' demo.

Proposal

I found that when using multiple engines, if the FlutterViewController is destroyed, it will directly destroy the engine and channel, and the dispose in the Flutter page will not be triggered. Is there any way to change this problem? Because if dispose is not triggered, we will have a lot of inconvenience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listengineflutter/engine related. See also e: labels.r: fixedIssue is closed as already fixed in a newer versionteam-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions