Components/Keyring: unregister the system prompter when disabling
Otherwise, we get a critical when enabling again
This commit is contained in:
parent
110d58bbc3
commit
59412a9405
@ -219,6 +219,7 @@ const KeyringPrompter = new Lang.Class({
|
|||||||
},
|
},
|
||||||
|
|
||||||
disable: function() {
|
disable: function() {
|
||||||
|
this._prompter.unregister(false);
|
||||||
Gio.DBus.session.unown_name(this._dbusId);
|
Gio.DBus.session.unown_name(this._dbusId);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user