[gnome-shell] loginDialog: Fix timing issue
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] loginDialog: Fix timing issue
- Date: Thu, 20 Jan 2022 20:47:16 +0000 (UTC)
commit 3de418ea3b40a855b38580e43de3b30fe5528877
Author: Naïm Favier <n monade li>
Date: Tue Jan 18 23:46:57 2022 +0100
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>
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 d48ea5416d..802c7c260e 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;
},
() => {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]