diff options
author | Carlos Garnacho <carlos@lanedo.com> | 2011-10-18 10:21:04 +0200 |
---|---|---|
committer | Martyn Russell <martyn@lanedo.com> | 2011-10-20 13:42:44 +0100 |
commit | 12ecb8748e36591ae9b95ffdbe1bd6b32045923f (patch) | |
tree | 6ad0ca83fc72fa91dd1f590b65a5fcc2af43a618 | |
parent | a482dded7e9db74c477aac762b96aa8f4154c7c8 (diff) | |
download | tracker-12ecb8748e36591ae9b95ffdbe1bd6b32045923f.tar.gz |
tracker-extract: Also complete cancelled tasks
If a task happened to be cancelled at the time of
get_metadata(), the error was set, but the async
result wasn't notified.
-rw-r--r-- | src/tracker-extract/tracker-extract.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c index 68dcdc6f1..86f3065f4 100644 --- a/src/tracker-extract/tracker-extract.c +++ b/src/tracker-extract/tracker-extract.c @@ -542,6 +542,7 @@ get_metadata (TrackerExtractTask *task) "Extraction of '%s' was cancelled", task->file); + g_simple_async_result_complete_in_idle ((GSimpleAsyncResult *) task->res); extract_task_free (task); return FALSE; } |