[tracker] libtracker-miner: Cancel pending async operations during destruction
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Cancel pending async operations during destruction
- Date: Tue, 20 Oct 2015 17:10:25 +0000 (UTC)
commit dc04031e33c5f554040c8a2c3311aaaca51b4043
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=756869
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 93b123b..89ada8d 100644
--- a/src/libtracker-miner/tracker-file-notifier.c
+++ b/src/libtracker-miner/tracker-file-notifier.c
@@ -1405,6 +1405,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]