[evolution-kolab/ek-wip-porting: 15/15] EBookBackendKolab: release views lock as late as possible in start_view



commit 6638b9ea33d7bb681cfb877569d051cbc2ea1c1c
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Sat Sep 8 18:45:20 2012 +0200

    EBookBackendKolab: release views lock as late as possible in start_view

 src/addressbook/e-book-backend-kolab.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/addressbook/e-book-backend-kolab.c b/src/addressbook/e-book-backend-kolab.c
index c948422..0bfb832 100644
--- a/src/addressbook/e-book-backend-kolab.c
+++ b/src/addressbook/e-book-backend-kolab.c
@@ -1032,14 +1032,13 @@ book_backend_kolab_start_book_view (EBookBackend *backend,
 
 	e_data_book_view_notify_complete (book_view, notify_err);
 
-	g_mutex_unlock (&active_book_views_lock);
-
 	if (notify_err != NULL)
 		g_error_free (notify_err);
 
 	if (econtact_list != NULL)
 		g_list_free (econtact_list);
 
+	g_mutex_unlock (&active_book_views_lock);
 }
 
 static void



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