[gnome-shell] gdmUtil: Fix ShellUserVerifier retry logic
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] gdmUtil: Fix ShellUserVerifier retry logic
- Date: Tue, 9 Aug 2022 16:46:33 +0000 (UTC)
commit 20c84bf9a6d6c345c8c1b42cc9647d57464062be
Author: Alessandro Bono <alessandro bono369 gmail com>
Date: Mon Aug 8 12:29:47 2022 +0200
gdmUtil: Fix ShellUserVerifier retry logic
Don't call the _retry() function if we are done trying.
Fallout from 8cfd4c969ba5e8126234585b1656d905266299dd.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2412>
js/gdm/util.js | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 006841f459..22cbe47339 100644
--- a/js/gdm/util.js
+++ b/js/gdm/util.js
@@ -719,10 +719,10 @@ var ShellUserVerifier = class extends Signals.EventEmitter {
this._disconnectSignals();
await this._handlePendingMessages();
this._cancelAndReset();
+ } else {
+ await this._handlePendingMessages();
+ this._retry(serviceName);
}
-
- await this._handlePendingMessages();
- this._retry(serviceName);
} catch (e) {
if (!e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
logError(e);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]