loginDialog: Fix timing issue
Fix the first task of the timed login batch not returning the hold on `_waitForItemForUser`. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2116>
This commit is contained in:
parent
6a10f2f2f1
commit
3de418ea3b
@ -1059,9 +1059,10 @@ var LoginDialog = GObject.registerClass({
|
|||||||
let tasks = [
|
let tasks = [
|
||||||
() => {
|
() => {
|
||||||
if (this._disableUserList)
|
if (this._disableUserList)
|
||||||
return;
|
return null;
|
||||||
|
|
||||||
this._timedLoginUserListHold = this._waitForItemForUser(userName);
|
this._timedLoginUserListHold = this._waitForItemForUser(userName);
|
||||||
|
return this._timedLoginUserListHold;
|
||||||
},
|
},
|
||||||
|
|
||||||
() => {
|
() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user