Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash when terminating pre-launched Lacros, if already terminated
Other calls to Terminate inside BrowserManager always check that lacros_process_ is valid before terminating it. Not doing so may result in timing issues in which Ash (and pre-launched Lacros) is terminated before we get into ResumeLaunch, causing a crash. Bug: 1446157 Change-Id: I1110e1209d0c17a02b4bb5114cf24bad2fe9f740 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4569945 Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Commit-Queue: Andrea Orru <andreaorru@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150164}
- Loading branch information