Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Multiple Flutter Engine: destroy flutter engine making live flutter stop response user interaction #76597

Copy link
Copy link

Description

@zhangxu-mag
Issue body actions

Steps to Reproduce

  1. User FlutterEngineGroup create new flutter engine
  2. Say we have Activity1 associated with flutter engine 1, Activity2 associated with flutter engine 2
  3. when user open the app, Activity1 is created and it create flutter engine 1 to render the view
  4. user interact with Activity1 to open Activity2
  5. Activity2 is created and it created flutter engine 2 to render view
  6. user navigate back
  7. Activity2 is destroy triggering flutter enige 2 destroy
  8. User back to Activity1
  9. User interact with Activity1 and no any response

Expected results:
User can continue interact with Activity1

Actual results:
User can not continue interact with Activity1

Details comments out "flutterJNI.detachFromNativeAndReleaseResources();" in FlutterEngine.destory helps fix @@@@@this.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: existing-appsIntegration with existing apps via the add-to-app flowIntegration with existing apps via the add-to-app flowengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyr: fixedIssue is closed as already fixed in a newer versionIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.