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
This commit is contained in:
parent
3455dd1e76
commit
c4ca17d127
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user