Commit f7a6acf3 authored by Christian Hergert's avatar Christian Hergert
Browse files

ctags: check for object destruction when building

We might be destroyed while building an index.
parent 6614b10f
......@@ -249,6 +249,10 @@ finish_subprocess:
g_assert (G_IS_FILE (child));
g_assert (G_IS_FILE (dest_child));
if (ide_object_in_destruction (IDE_OBJECT (self)) ||
g_cancellable_is_cancelled (cancellable))
return FALSE;
if (ide_vcs_is_ignored (vcs, child, NULL))
Supports Markdown
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