Skip to content

fix: clean Android Iris session when activity finishes - #140

Open
ZGaopeng wants to merge 1 commit into
mainfrom
fix/android-activity-finish-iris-session
Open

fix: clean Android Iris session when activity finishes#140
ZGaopeng wants to merge 1 commit into
mainfrom
fix/android-activity-finish-iris-session

Conversation

@ZGaopeng

Copy link
Copy Markdown
Collaborator

Summary\n- Track each Android Iris API/event/Dart-port resource set as a native session.\n- Release the session when its attached Activity finishes, while preserving sessions for other FlutterEngines and configuration changes.\n- Remove Java cached-handle/RtcEngine.destroy cleanup assumptions from downstream usage.\n\n## Validation\n- flutter test\n- Android release build\n- Device A/B: without Activity cleanup, one native join callback reached two retained FlutterEngine isolates; with cleanup, it reached only the newly opened isolate.\n\n## Notes\n- No package publication or tag is included in this PR.\n- No application configuration, token, device log, or test credential is included.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant