[tracker/tracker-1.2] libtracker-miner: Cancel pending async operations during destruction
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-1.2] libtracker-miner: Cancel pending async operations during destruction
- Date: Tue, 20 Oct 2015 17:51:42 +0000 (UTC)
commit a994ff48be023479c31f5703ac55a525f3bac626
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Oct 20 18:08:45 2015 +0200
libtracker-miner: Cancel pending async operations during destruction
https://bugzilla.gnome.org/show_bug.cgi?id=756877
src/libtracker-miner/tracker-file-notifier.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-file-notifier.c b/src/libtracker-miner/tracker-file-notifier.c
index 5c2b7b9..b12baa2 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -1370,6 +1370,8 @@ tracker_file_notifier_finalize (GObject *object)
g_object_unref (priv->data_provider);
}
+ g_cancellable_cancel (priv->cancellable);
+
g_object_unref (priv->crawler);
g_object_unref (priv->monitor);
g_object_unref (priv->file_system);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]