diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 2b79701fc..c30789e20 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(); })); },