libsysprof-profile: change state on stop

We will need some more checks in here later on once we're doing things
with the instruments, but this gets the job done for now.
This commit is contained in:
Christian Hergert
2023-05-25 17:24:33 -07:00
parent 7fb77ee01d
commit 07dc728bfe

View File

@ -226,6 +226,7 @@ sysprof_recording_stop (SysprofRecording *self)
{
g_return_if_fail (SYSPROF_IS_RECORDING (self));
sysprof_recording_set_state (self, SYSPROF_RECORDING_STATE_FINISHED);
}
void