gnome-shell/js/ui/components
Florian Müllner 21faae480e polkitAgent: Ensure cleanup if dialog wasn't shown
It is possible for an initiated session to complete without
a request if polkit can authenticate the action without user
input. We fail to clean up after ourselves in that case, as
the cleanup is done after the dialog is closed.

The dialog can still be shown when the code that hides existing
dialogs while the screen is locked shows it on unlock. But as
the session was closed, the dialog is now defunct and cannot
be dismissed by the user.

Fix this by running the cleanup on close() when the dialog
wasn't shown.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3701

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1662>
2021-02-11 13:48:54 +01:00
..
__init__.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
automountManager.js automountManager: Remove unused volume queue 2021-01-19 20:55:11 +00:00
autorunManager.js cleanup: Don't linebreak before closing parentheses 2020-04-28 09:04:49 +00:00
keyring.js js: Do not set entries' ClutterText:editable property 2020-03-29 22:12:57 +02:00
networkAgent.js networkAgent: Use VPN specific method to add VPN secrets 2020-12-25 11:43:13 +01:00
polkitAgent.js polkitAgent: Ensure cleanup if dialog wasn't shown 2021-02-11 13:48:54 +01:00
telepathyClient.js telepathyClient: Promisify the right class 2020-10-22 21:11:01 +02:00