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>
This commit is contained in:
parent
dd97a2589b
commit
20c84bf9a6
@ -719,10 +719,10 @@ var ShellUserVerifier = class extends Signals.EventEmitter {
|
|||||||
this._disconnectSignals();
|
this._disconnectSignals();
|
||||||
await this._handlePendingMessages();
|
await this._handlePendingMessages();
|
||||||
this._cancelAndReset();
|
this._cancelAndReset();
|
||||||
}
|
} else {
|
||||||
|
|
||||||
await this._handlePendingMessages();
|
await this._handlePendingMessages();
|
||||||
this._retry(serviceName);
|
this._retry(serviceName);
|
||||||
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (!e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
|
if (!e.matches(Gio.IOErrorEnum, Gio.IOErrorEnum.CANCELLED))
|
||||||
logError(e);
|
logError(e);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user