Commit 36483233 authored by Christian Hergert's avatar Christian Hergert

task: make comment more accurate

parent fae8ba4f
Pipeline #6789 passed with stage
in 24 minutes and 44 seconds
......@@ -1011,9 +1011,9 @@ ide_task_return (IdeTask *self,
{
if (result->type == IDE_TASK_RESULT_CANCELLED)
{
/* We handled the cancel signal but already raced to get a result
* in the mean time. So we can just drop this result immediately
* as it has no state ot propagate.
/* We already had a result, and now raced to be notified of
* cancellation. We can safely free this result even if we're
* currently in a worker thread.
*/
ide_task_result_free (result);
return;
......
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