evolution-data-server/bnc-164140-eds-crash-evolution--offline.patch

15 lines
509 B
Diff
Raw Normal View History

Index: addressbook/backends/file/e-book-backend-file.c
===================================================================
--- addressbook/backends/file/e-book-backend-file.c.orig
+++ addressbook/backends/file/e-book-backend-file.c
@@ -684,6 +684,9 @@ e_book_backend_file_stop_book_view (EBoo
FileBackendSearchClosure *closure = get_closure (book_view);
gboolean need_join = FALSE;
+ if (!closure)
+ return;
+
d(printf ("stopping query\n"));
g_mutex_lock (closure->mutex);
if (!closure->stopped)