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
4d72bfd495
commit
45ba07c214
@ -148,8 +148,10 @@ const ShellUserVerifier = new Lang.Class({
|
|||||||
if (this._cancellable)
|
if (this._cancellable)
|
||||||
this._cancellable.cancel();
|
this._cancellable.cancel();
|
||||||
|
|
||||||
if (this._userVerifier)
|
if (this._userVerifier) {
|
||||||
this._userVerifier.call_cancel_sync(null);
|
this._userVerifier.call_cancel_sync(null);
|
||||||
|
this.clear();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
clear: function() {
|
clear: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user