summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam@afuera.me.uk>2016-06-13 22:29:26 +0100
committerSam Thursfield <sam@afuera.me.uk>2016-06-13 22:36:10 +0100
commitf39098e1729737b4f4e6a49bc8a42e75f01606a7 (patch)
treecaf76f92f0bc582541d3993187314fc03322f17a
parenta4308c5d169e76e6a977c549757201f72bbb0f3f (diff)
downloadtracker-f39098e1729737b4f4e6a49bc8a42e75f01606a7.tar.gz
tracker-store: Avoid duplicate timeout removal
I kept seeing warnings like this in the 200-backup-restore functional-test: test_backup_01 (__main__.BackupRestoreTest) ... (tracker-store:8104): GLib-CRITICAL **: Source ID 25 was not found when attempting to remove it test_backup_02 (__main__.BackupRestoreTest) ... (tracker-store:8104): GLib-CRITICAL **: Source ID 25 was not found when attempting to remove it
-rw-r--r--src/tracker-store/tracker-resources.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tracker-store/tracker-resources.vala b/src/tracker-store/tracker-resources.vala
index f0c57b6d2..9b771fa8c 100644
--- a/src/tracker-store/tracker-resources.vala
+++ b/src/tracker-store/tracker-resources.vala
@@ -352,6 +352,7 @@ public class Tracker.Resources : Object {
if (signal_timeout != 0) {
Source.remove (signal_timeout);
+ signal_timeout = 0;
}
}