mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-gtk: bail if we don't have enough info to normalize
This commit is contained in:
@ -76,7 +76,7 @@ sysprof_normalized_series_update_missing (gpointer user_data)
|
||||
|
||||
g_assert (SYSPROF_IS_NORMALIZED_SERIES (self));
|
||||
|
||||
if (self->missing == NULL || self->disposed)
|
||||
if (self->missing == NULL || self->disposed || self->axis == NULL || self->series == NULL || self->expression == NULL)
|
||||
{
|
||||
self->update_source = 0;
|
||||
return G_SOURCE_REMOVE;
|
||||
|
||||
Reference in New Issue
Block a user