[gnome-shell/gnome-3-16] gdm: clear user verifier when finished with it
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-16] gdm: clear user verifier when finished with it
- Date: Wed, 5 Aug 2015 14:20:16 +0000 (UTC)
commit 53b25fa5afca94c888401eb19a86990aeeef1a33
Author: Ray Strode <rstrode redhat com>
Date: Mon Aug 3 14:07:17 2015 -0400
gdm: clear user verifier when finished with it
We only need the user verifier for the purpose of user verification.
Once it's complete we should clear it so it doesn't get in the way
later.
This fixes a bug introduced in commit 3c8c5a557059 that leads to the
user session crashing when the login screen is reactivated.
https://bugzilla.gnome.org/show_bug.cgi?id=753181
js/gdm/authPrompt.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
index b57b00b..c6ed601 100644
--- a/js/gdm/authPrompt.js
+++ b/js/gdm/authPrompt.js
@@ -489,6 +489,7 @@ const AuthPrompt = new Lang.Class({
finish: function(onComplete) {
if (!this._userVerifier.hasPendingMessages) {
+ this._userVerifier.clear();
onComplete();
return;
}
@@ -496,6 +497,7 @@ const AuthPrompt = new Lang.Class({
let signalId = this._userVerifier.connect('no-more-messages',
Lang.bind(this, function() {
this._userVerifier.disconnect(signalId);
+ this._userVerifier.clear();
onComplete();
}));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]