Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@blasten
Copy link

@blasten blasten commented Sep 28, 2021

In add-to-app, cached engines allow to reuse existing c++ state. However, this state must be kept in synced with the platform state.

After an activity is destroyed, platform resources like Android views must be released, leaving the cached engine in a bad state when these resources are mapped to state in c++.

Related issues:
flutter/flutter#88880
googleads/googleads-mobile-flutter#265

@blasten blasten added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Sep 28, 2021
@fluttergithubbot fluttergithubbot merged commit 866db62 into flutter:master Sep 28, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 29, 2021
dnfield pushed a commit to dnfield/engine that referenced this pull request Oct 6, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes platform-android platform-fuchsia platform-ios waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants