mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof-profile: flush recording before exit
This commit is contained in:
@ -226,6 +226,8 @@ main (int argc,
|
|||||||
sysprof_capture_writer_cat (writer, reader);
|
sysprof_capture_writer_cat (writer, reader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sysprof_capture_writer_flush (writer);
|
||||||
|
|
||||||
g_clear_pointer (&reader, sysprof_capture_reader_unref);
|
g_clear_pointer (&reader, sysprof_capture_reader_unref);
|
||||||
g_clear_pointer (&writer, sysprof_capture_writer_unref);
|
g_clear_pointer (&writer, sysprof_capture_writer_unref);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user