[gnome-shell] util: clear user verifier after cancelling it



commit 45ba07c2147526699ac0868628a1d8c090e83780
Author: Ray Strode <rstrode redhat com>
Date:   Mon Jul 29 10:52:02 2013 -0400

    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 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/js/gdm/util.js b/js/gdm/util.js
index 1facf98..9557c66 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() {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]