[folks] bluez: Don’t block on cleanup finishing w hen updating contacts



commit f98693a07d36ebf5d0d84dd6a40229c170364734
Author: Philip Withnall <philip withnall collabora co uk>
Date:   Wed Nov 13 16:21:08 2013 +0000

    bluez: Don’t block on cleanup finishing when updating contacts
    
    This speeds up updating the contacts, and also elimates the possibility
    of Vala’s async state machine getting into an illegal state, which
    somehow happened before.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=711827

 backends/bluez/bluez-persona-store.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/bluez/bluez-persona-store.vala b/backends/bluez/bluez-persona-store.vala
index 1af1500..6ff9f27 100644
--- a/backends/bluez/bluez-persona-store.vala
+++ b/backends/bluez/bluez-persona-store.vala
@@ -816,7 +816,7 @@ public class Folks.Backends.BlueZ.PersonaStore : Folks.PersonaStore
         {
           /* Tear down again. */
           if (session_path != null)
-              yield this._remove_obex_session (session_path);
+              this._remove_obex_session.begin (session_path);
           obex_pbap = null;
 
           this._update_contacts_cancellable = null;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]