[sysprof/wip/chergert/control-fd] memprof: emit finished signal during ::stop()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/control-fd] memprof: emit finished signal during ::stop()
- Date: Tue, 11 Feb 2020 23:14:27 +0000 (UTC)
commit 86593aa6dbe2e6d15fe7c943fd50392baa6c6382
Author: Christian Hergert <chergert redhat com>
Date: Tue Feb 11 15:11:34 2020 -0800
memprof: emit finished signal during ::stop()
src/libsysprof/sysprof-memprof-source.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/libsysprof/sysprof-memprof-source.c b/src/libsysprof/sysprof-memprof-source.c
index 76a2b27..00ffc9f 100644
--- a/src/libsysprof/sysprof-memprof-source.c
+++ b/src/libsysprof/sysprof-memprof-source.c
@@ -44,10 +44,17 @@ sysprof_memprof_source_modify_spawn (SysprofSource *source,
#endif
}
+static void
+sysprof_memprof_source_stop (SysprofSource *source)
+{
+ sysprof_source_emit_finished (source);
+}
+
static void
source_iface_init (SysprofSourceInterface *iface)
{
iface->modify_spawn = sysprof_memprof_source_modify_spawn;
+ iface->stop = sysprof_memprof_source_stop;
}
G_DEFINE_TYPE_WITH_CODE (SysprofMemprofSource, sysprof_memprof_source, G_TYPE_OBJECT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]