TpfPersonaStore: disconnect signals in _reset
authorXavier Claessens <xavier.claessens@collabora.co.uk>
Tue, 10 Apr 2012 14:53:13 +0000 (16:53 +0200)
committerXavier Claessens <xavier.claessens@collabora.co.uk>
Tue, 10 Apr 2012 15:09:38 +0000 (17:09 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=630822

backends/telepathy/lib/tpf-persona-store.vala

index 61d3e0d..8ae4711 100644 (file)
@@ -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;
         }