[tracker/rss-enclosures] TrackerStore: Check client name before cancelling threads on client disconnection.
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] TrackerStore: Check client name before cancelling threads on client disconnection.
- Date: Mon, 3 May 2010 00:39:43 +0000 (UTC)
commit 59e6b4e05cca637380e33879c064c55f640a798b
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]