[tracker/drop-inotify: 14/24] libtracker-miner: Remove events timeout source when finalizing the TrackerMonitor
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/drop-inotify: 14/24] libtracker-miner: Remove events timeout source when finalizing the TrackerMonitor
- Date: Thu, 8 Jul 2010 09:15:16 +0000 (UTC)
commit 34416916958d35e2fab274654b646dd9a3983599
Author: Aleksander Morgado <aleksander lanedo com>
Date: Fri Jul 2 11:25:37 2010 +0200
libtracker-miner: Remove events timeout source when finalizing the TrackerMonitor
src/libtracker-miner/tracker-monitor.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-monitor.c b/src/libtracker-miner/tracker-monitor.c
index 33445b6..0bc245e 100644
--- a/src/libtracker-miner/tracker-monitor.c
+++ b/src/libtracker-miner/tracker-monitor.c
@@ -325,6 +325,10 @@ tracker_monitor_finalize (GObject *object)
}
#endif /* PAUSE_ON_IO */
+ if (priv->event_pairs_timeout_id) {
+ g_source_remove (priv->event_pairs_timeout_id);
+ }
+
g_hash_table_unref (priv->event_pairs);
g_hash_table_unref (priv->monitors);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]