From: Xavier Claessens Date: Tue, 10 Apr 2012 14:53:13 +0000 (+0200) Subject: TpfPersonaStore: disconnect signals in _reset X-Git-Tag: FOLKS_0_7_0~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b28e65a2c84f7c974a5f2c6ea8d247b06e1d24cb;p=platform%2Fupstream%2Ffolks.git TpfPersonaStore: disconnect signals in _reset https://bugzilla.gnome.org/show_bug.cgi?id=630822 --- diff --git a/backends/telepathy/lib/tpf-persona-store.vala b/backends/telepathy/lib/tpf-persona-store.vala index 61d3e0d..8ae4711 100644 --- a/backends/telepathy/lib/tpf-persona-store.vala +++ b/backends/telepathy/lib/tpf-persona-store.vala @@ -386,6 +386,11 @@ public class Tpf.PersonaStore : Folks.PersonaStore { this._conn.notify["self-contact"].disconnect ( this._self_contact_changed_cb); + this._conn.notify["contact-list-state"].disconnect ( + this._contact_list_state_changed_cb); + this._conn.contact_list_changed.disconnect ( + this._contact_list_changed_cb); + this._conn = null; }