libsysprof-profile: flush events when disabling

This commit is contained in:
Christian Hergert
2023-06-09 17:23:43 -07:00
parent bfbdd3b642
commit 13e1ace8dc

View File

@ -569,6 +569,8 @@ sysprof_perf_event_stream_disable (SysprofPerfEventStream *self,
self->active = FALSE;
sysprof_perf_event_stream_flush (self);
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_ACTIVE]);
return TRUE;