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
This commit is contained in:
parent
b1c2f4a8d6
commit
69957dac3d
@ -123,6 +123,8 @@ const AuthPrompt = new Lang.Class({
|
|||||||
|
|
||||||
_onDestroy: function() {
|
_onDestroy: function() {
|
||||||
this._userVerifier.clear();
|
this._userVerifier.clear();
|
||||||
|
this._userVerifier.disconnectAll();
|
||||||
|
this._userVerifier = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
_initButtons: function() {
|
_initButtons: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user