mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 07:00:53 +00:00
callgraph-view: clear models when unloading
This commit is contained in:
@ -211,6 +211,10 @@ sp_callgraph_view_unload (SpCallgraphView *self)
|
|||||||
g_queue_clear (priv->history);
|
g_queue_clear (priv->history);
|
||||||
g_clear_object (&priv->profile);
|
g_clear_object (&priv->profile);
|
||||||
priv->profile_size = 0;
|
priv->profile_size = 0;
|
||||||
|
|
||||||
|
gtk_tree_view_set_model (priv->callers_view, NULL);
|
||||||
|
gtk_tree_view_set_model (priv->functions_view, NULL);
|
||||||
|
gtk_tree_view_set_model (priv->descendants_view, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user