Commit 476c061c authored by Christian Hergert's avatar Christian Hergert

workbench: avoid notifications when unloading

parent 07b75015
......@@ -73,6 +73,9 @@ ide_workbench_notify_visible_child (IdeWorkbench *self,
g_assert (IDE_IS_WORKBENCH (self));
g_assert (GTK_IS_STACK (stack));
if (self->unloading)
return;
perspective = gtk_stack_get_visible_child (stack);
if (perspective != NULL)
......
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