From 3b97252a8eade425ee98acf983e7f203d91a2350 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Wed, 16 Aug 2023 15:43:46 -0700 Subject: [PATCH] Revert "libsysprof: be defensive against null traceable" This reverts commit c75022c25722479397691e5f88966efb1cb385ec. --- src/libsysprof/sysprof-callgraph.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/libsysprof/sysprof-callgraph.c b/src/libsysprof/sysprof-callgraph.c index b7419f46..c309e1e4 100644 --- a/src/libsysprof/sysprof-callgraph.c +++ b/src/libsysprof/sysprof-callgraph.c @@ -461,13 +461,6 @@ sysprof_callgraph_new_worker (GTask *task, { 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); }