Commit 2e81215d authored by Raul Gutierrez Segales's avatar Raul Gutierrez Segales
Browse files

tpf: don't unprepare the backend if it isn't prepared

parent c415b637
......@@ -125,6 +125,9 @@ public class Folks.Backends.Tp.Backend : Folks.Backend
*/
public override async void unprepare () throws GLib.Error
{
if (!this._is_prepared)
return;
this._account_manager.account_enabled.disconnect (
this._account_enabled_cb);
this._account_manager.account_validity_changed.disconnect (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment