Fix crashes when switching profiles with incomplete terminal launch
This CL fixes a crash that occurs when switching to a profile with an incomplete Crostini terminal launch. While the BrowserStatusMonitor was already excluding the Crostini terminal from getting a shelf item, it was still tracking the Browsers, and ended up trying to add these to the shelf on profile switching. Bug: 882782 Change-Id: I7e406b1481a9ad5adb372335ebab421f1742acc1 Reviewed-on: https://chromium-review.googlesource.com/1235775Reviewed-by:Steven Bennetts <stevenjb@chromium.org> Commit-Queue: Timothy Loh <timloh@chromium.org> Cr-Commit-Position: refs/heads/master@{#593759}
Showing
Please register or sign in to comment