-
Notifications
You must be signed in to change notification settings - Fork 29.1k
Closed
Closed
Copy link
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.r: invalidIssue is closed as not validIssue is closed as not valid
Description
Use case
I have run into this issue without cleanup the listeners when the engine is dead, so it causes the crash. As I single FlutterEngine APP, the detachFromEngineForRegistrar
is only called when the APP is exited. It's not easy to test this case in the integration test, although I can simulate the detached logic of the Flutter Plugin through the Add2App scenario, there's a lot of work to achieve this, and the Add2App feature is not support the desktop, and web yet.
So, is there any easy way to simulate the Plugin detach logic?
vtjiles
Metadata
Metadata
Assignees
Labels
a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.r: invalidIssue is closed as not validIssue is closed as not valid