DescriptionFix crash when locking screen while adding a user to an existing session.
Also added a test to prevent a regression.
Essentially, ScreenLocker::HandleLockScreenRequest calls UserAddingScreen::Cancel and uses a callback to be notified for when the user-adding screen is completed. The crash happened because this callback was invoked too early - before the adding screen has been fully deinitialized.
BUG=467111
Committed: https://crrev.com/87e397cc8cce3e680b9a54340949dcda5d3e08eb
Cr-Commit-Position: refs/heads/master@{#351154}
Patch Set 1 : Exploration (bad approach) #Patch Set 2 : Proper fix #
Total comments: 1
Messages
Total messages: 12 (3 generated)
|