[tracker/async-queries-due] TrackerStore: Check client name before cancelling threads on client disconnection.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/async-queries-due] TrackerStore: Check client name before cancelling threads on client disconnection.
- Date: Fri, 16 Apr 2010 13:19:37 +0000 (UTC)
commit d7b425c6b3fe9e555f0422beea5d80b3a3e3f31c
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Apr 16 15:04:29 2010 +0200
TrackerStore: Check client name before cancelling threads on client disconnection.
src/tracker-store/tracker-store.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/tracker-store/tracker-store.c b/src/tracker-store/tracker-store.c
index ee38f59..adaefb8 100644
--- a/src/tracker-store/tracker-store.c
+++ b/src/tracker-store/tracker-store.c
@@ -836,7 +836,8 @@ tracker_store_unreg_batches (const gchar *client_id)
task = running->data;
- if (task->data.query.running_thread) {
+ if (task->data.query.running_thread &&
+ g_strcmp0 (task->client_id, client_id) == 0) {
tracker_data_manager_interrupt_thread (task->data.query.running_thread);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]