Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android][IncognitoReauth] Fix referencing objects in destruction path.
Merge approved at crbug.com/1383016#c12 When the tabswitcher re-auth view is shown and the underlying Activity is getting destroyed, we are referencing objects that we don't own. This is racy, as the object might have been garbage collected already. This CL adds support of a separate path which gets invoked when the Activity is being destroyed, via a dedicated destroy method of the co-ordinator. (cherry picked from commit aedc073) Bug: 1383016, 1227656 Change-Id: I128f1c4ebffcf38149d6945c88552aaa9d9f7fb1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4023454 Commit-Queue: Rohit Agarwal <roagarwal@chromium.org> Reviewed-by: Theresa Sullivan <twellington@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1071505} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4030301 Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/branch-heads/5414@{#72} Cr-Branched-From: 4417ee5-refs/heads/main@{#1070088}
- Loading branch information
Rohit Agarwal
authored and
Chromium LUCI CQ
committed
Nov 16, 2022
1 parent
38eec90
commit 7429fbd
Showing
4 changed files
with
13 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters