mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
gdmUtil: Fix ShellUserVerifier retry logic
Don't call the _retry() function if we are done trying.
Fallout from 8cfd4c969b.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2412>
This commit is contained in:
parent
dd97a2589b
commit
20c84bf9a6
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue