From c4ca17d1270749a20f37bad7e8ce253f87814989 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 29 Jul 2013 10:52:02 -0400 Subject: [PATCH] util: clear user verifier after cancelling it If we don't clear it, then the connection to gdm will remain open. https://bugzilla.gnome.org/show_bug.cgi?id=683437 --- js/gdm/util.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/gdm/util.js b/js/gdm/util.js index 1facf9881..9557c66a0 100644 --- a/js/gdm/util.js +++ b/js/gdm/util.js @@ -148,8 +148,10 @@ const ShellUserVerifier = new Lang.Class({ if (this._cancellable) this._cancellable.cancel(); - if (this._userVerifier) + if (this._userVerifier) { this._userVerifier.call_cancel_sync(null); + this.clear(); + } }, clear: function() {