From 69957dac3df4f8cf2abd90d68c0474e6fd1d635b Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 29 Jul 2013 13:24:36 -0400 Subject: [PATCH] authPrompt: disassociate from userVerifier when destroyed Otherwise, it won't get GC'd and we'll end up potentially calling its signal handlers after destruction. https://bugzilla.gnome.org/show_bug.cgi?id=683437 --- js/gdm/authPrompt.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js index 0666294fe..6b2480b1b 100644 --- a/js/gdm/authPrompt.js +++ b/js/gdm/authPrompt.js @@ -123,6 +123,8 @@ const AuthPrompt = new Lang.Class({ _onDestroy: function() { this._userVerifier.clear(); + this._userVerifier.disconnectAll(); + this._userVerifier = null; }, _initButtons: function() {