Components/Keyring: unregister the system prompter when disabling

Otherwise, we get a critical when enabling again
This commit is contained in:
Giovanni Campagna 2012-09-05 01:13:36 +02:00
parent 110d58bbc3
commit 59412a9405

View File

@ -219,6 +219,7 @@ const KeyringPrompter = new Lang.Class({
},
disable: function() {
this._prompter.unregister(false);
Gio.DBus.session.unown_name(this._dbusId);
}
});