Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "StoragePartition: Move shutdown to OnBrowserContextWillBeDest…
…royed" This reverts commit 0e67584. Reason for revert: this is causing some crashes, most likely due to async OTR profile deletion. Original change's description: > StoragePartition: Move shutdown to OnBrowserContextWillBeDestroyed > > Follow-up from crrev.com/c/4869214. This moves shutting down of > services in ~StoragePartitionImpl to OnBrowserContextWillBeDestroyed. > Doing this earlier will prevent other dangling pointer issues related > to browser context (including fixing one in StoragePartitionImpl), and > it consolidates shutdown. > > Bug: 1492282 > Change-Id: I57e1e439ad715df6625ef011c1a99a76051fac2e > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4968658 > Commit-Queue: Scott Haseley <shaseley@chromium.org> > Reviewed-by: Ayu Ishii <ayui@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1215818} (cherry picked from commit b9f4336) Bug: 1492282, 1497693 Change-Id: Id8b4fdc3989299886caa13277d1b7311cef79007 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4990213 Reviewed-by: Ayu Ishii <ayui@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Scott Haseley <shaseley@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1217729} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4994750 Commit-Queue: Srinivas Sista <srinivassista@chromium.org> Owners-Override: Srinivas Sista <srinivassista@chromium.org> Cr-Commit-Position: refs/branch-heads/6099@{#12} Cr-Branched-From: e6ee450-refs/heads/main@{#1217362}
- Loading branch information