Commit 0ca3ebf3 authored by Carlos Garnacho's avatar Carlos Garnacho

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.
parent a927d88d
......@@ -542,6 +542,7 @@ get_metadata (TrackerExtractTask *task)
"Extraction of '%s' was cancelled",
g_simple_async_result_complete_in_idle ((GSimpleAsyncResult *) task->res);
extract_task_free (task);
return FALSE;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment