Commit 06bf098f authored by Michael Natterer's avatar Michael Natterer 😴

app: run dispose on the tool infos before unrefing their container

because they contain reference cycles with the tool options
parent cf98aed7
......@@ -336,6 +336,8 @@ gimp_finalize (GObject *object)
if (gimp->tool_info_list)
{
gimp_container_foreach (gimp->tool_info_list,
(GFunc) g_object_run_dispose, NULL);
g_object_unref (gimp->tool_info_list);
gimp->tool_info_list = 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