Fix login screen UI window not closing when extension is unloaded
Currently, |login_screen_ui::UiHandler| only closes the login screen UI window when the extension is uninstalled, and not when it is unloaded. When an extension is updated, the old instance is unloaded and not uninstalled. This means when an update occurs when the old instance has a window open, this window will not be closed, and the new instance will not be able to open another window. This CL updates |UiHandler| to also close the window when the extension is unloaded. Bug: 957573 Change-Id: If586fa5cc83fca20d971e85080389d013b854e66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2002610 Commit-Queue: Jit Yao Yap <jityao@google.com> Reviewed-by:Alexander Hendrich <hendrich@chromium.org> Cr-Commit-Position: refs/heads/master@{#732849}
Showing
Please register or sign in to comment