Commit bc0f8ca9 authored by Christian Hergert's avatar Christian Hergert

code-index: short-circuit if context was lost

parent 363c2713
Pipeline #89995 passed with stage
in 36 minutes and 33 seconds
...@@ -53,6 +53,9 @@ ide_code_index_symbol_resolver_lookup_cb (GObject *object, ...@@ -53,6 +53,9 @@ ide_code_index_symbol_resolver_lookup_cb (GObject *object,
return; return;
} }
if (ide_task_return_error_if_cancelled (task))
context = ide_object_get_context (IDE_OBJECT (self)); context = ide_object_get_context (IDE_OBJECT (self));
g_assert (IDE_IS_CONTEXT (context)); g_assert (IDE_IS_CONTEXT (context));
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