mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 23:51:06 +00:00
Revert "libsysprof: be defensive against null traceable"
This reverts commit c75022c257.
This commit is contained in:
@ -461,13 +461,6 @@ sysprof_callgraph_new_worker (GTask *task,
|
|||||||
{
|
{
|
||||||
g_autoptr(SysprofDocumentTraceable) traceable = g_list_model_get_item (self->traceables, i);
|
g_autoptr(SysprofDocumentTraceable) traceable = g_list_model_get_item (self->traceables, i);
|
||||||
|
|
||||||
/* Currently, we might be racing against changes in the model. And we
|
|
||||||
* definitely need to address that. But this at least keeps things
|
|
||||||
* recovering in the meantime.
|
|
||||||
*/
|
|
||||||
if (traceable == NULL)
|
|
||||||
break;
|
|
||||||
|
|
||||||
sysprof_callgraph_add_traceable (self, traceable, i);
|
sysprof_callgraph_add_traceable (self, traceable, i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user