From 3de418ea3b40a855b38580e43de3b30fe5528877 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Na=C3=AFm=20Favier?= Date: Tue, 18 Jan 2022 23:46:57 +0100 Subject: [PATCH] loginDialog: Fix timing issue Fix the first task of the timed login batch not returning the hold on `_waitForItemForUser`. Part-of: --- js/gdm/loginDialog.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d48ea5416..802c7c260 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1059,9 +1059,10 @@ var LoginDialog = GObject.registerClass({ let tasks = [ () => { if (this._disableUserList) - return; + return null; this._timedLoginUserListHold = this._waitForItemForUser(userName); + return this._timedLoginUserListHold; }, () => {