| commit | 8b51c5f81bb60624e8df60ed8a230dc77ed631d6 | [log] [tgz] |
|---|---|---|
| author | Joe Downing <joedow@google.com> | Thu Jul 11 17:39:30 2024 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 11 17:39:30 2024 |
| tree | 5008eb9a52584622104e8f4cef611fcbdca51dc6 | |
| parent | 9f3c6912bf442d75b9f4134738c965d71a76d8af [diff] |
Fix crash when HostProcess is released on a non-UI thread HostProcess is a ref-counted class which uses callbacks to release resources on the appropriate thread(s) as it doesn't require that it be destroyed on a specific thread. The crash I am fixing in this CL occurs when either of two associated remotes are released in the d'tor on a non-UI thread. The fix is to ensure they are released in the ShutdownOnUiThread method. Bug: 350721919 Change-Id: I9f6fb87c521e67f340dc09fe0a368aaefa123fd8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5695388 Auto-Submit: Joe Downing <joedow@chromium.org> Reviewed-by: Lambros Lambrou <lambroslambrou@chromium.org> Commit-Queue: Joe Downing <joedow@chromium.org> Cr-Commit-Position: refs/heads/main@{#1326258}
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.