15 lines
509 B
Diff
15 lines
509 B
Diff
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)
|