commit | e3966b157a2be969a7a7b5eb0063abb89d0579bf | [log] [tgz] |
---|---|---|
author | Maksim Moskvitin <mmoskvitin@google.com> | Tue Jan 21 13:03:39 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 21 13:03:39 2020 |
tree | 136edc9139997ef9da3d388b4812ac342b10828b | |
parent | 1ba73ef0669f9d52bb222fdde95124452de99a12 [diff] |
Fix crash in ProfileSyncService::GetDisableReasons() PeopleHandler somehow gets destroyed after ProfileSyncService shutdown, so |auth_manager_| is nullptr during its destruction. This caused the crash in GetDisableReasons(). Fix is to simply check |auth_manager_| before dereferencing. Avoiding PSS usages after shutdown would be cleaner fix, but it's not clear why they happen atm. Bug: 1043642, 906995 Change-Id: Id6d54a2edee1210a579e36b2b771d360c8c40474 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2011220 Commit-Queue: Maksim Moskvitin <mmoskvitin@google.com> Reviewed-by: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#733582}
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.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .