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

layout: clear page before unloading

This simplifies things for addins to only disconnect state in one place.
parent 5c645db5
......@@ -438,6 +438,7 @@ ide_layout_stack_addin_removed (PeasExtensionSet *set,
g_assert (plugin_info != NULL);
g_assert (IDE_IS_LAYOUT_STACK_ADDIN (addin));
ide_layout_stack_addin_set_view (addin, NULL);
ide_layout_stack_addin_unload (addin, self);
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