commit | 872a6a64ab3bb0e610d80c6407ebcac326511483 | [log] [tgz] |
---|---|---|
author | Etienne Bergeron <etienneb@chromium.org> | Fri Mar 21 19:57:13 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 21 19:57:13 2025 |
tree | 0ef84d1a6b681a0ca69e9a101c1f3930157053c6 | |
parent | 0b1bea823da96445f891f85532294756c25b647b [diff] |
Fix race condition with profile re-loading This CL is fixing a race condition on Profile reloading. The webdatabase/history datanase are per profile and they are hosted on a sequence. On profile unload, a shutdown task is posted on the db sequence to tear down the database. The race condition happen when a the profile is reloaded. The re-opened database will be on a different sequence and tasks are racing with the shutdown tasks of the previous profile. Bug: 369635654 Change-Id: Ia5c7d7f3e09edb4ae22a3652b9859c93ceddf69f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6362234 Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Reviewed-by: Sophie Chang <sophiechang@chromium.org> Reviewed-by: Matt Mueller <mattm@chromium.org> Reviewed-by: Peter Kasting <pkasting@chromium.org> Reviewed-by: Francois Pierre Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/main@{#1436242}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.