Disable mojo power notifications on shutdown
PowerMonitorBroadcastSource receives mojo power notifications on IO thread, and can use PowerMonitor after it's destroyed on main thread. Disabling power notifications on the IO thread prevents this data race. Bug: 834312 Change-Id: I1677b6098d158ecc18dfce60eaeed9590110a962 Reviewed-on: https://chromium-review.googlesource.com/1041215 Commit-Queue: Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#556603}
Showing
Please register or sign in to comment