diff options
author | Sam Thursfield <sam@afuera.me.uk> | 2016-06-13 22:29:26 +0100 |
---|---|---|
committer | Sam Thursfield <sam@afuera.me.uk> | 2016-06-13 22:36:10 +0100 |
commit | f39098e1729737b4f4e6a49bc8a42e75f01606a7 (patch) | |
tree | caf76f92f0bc582541d3993187314fc03322f17a /src | |
parent | a4308c5d169e76e6a977c549757201f72bbb0f3f (diff) | |
download | tracker-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
Diffstat (limited to 'src')
-rw-r--r-- | src/tracker-store/tracker-resources.vala | 1 |
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; } } |