diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.com> | 2021-05-25 14:26:11 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2021-06-02 09:11:58 +0300 |
commit | aaaf85054f1235d2c22ab19ad909f98edf96cacd (patch) | |
tree | 6a0769fe96cfc2a31db302e2e314d82b1a38eacf | |
parent | 81778f9d9340a746ddd88ee8bcb31bd6fa9a0e15 (diff) |
tracers: leaks: log when tracer is exiting
Useful when debugging leaks to make sure that the tracer is properly
finalized (gst_deinit() being actually called, etc).
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/828>
-rw-r--r-- | plugins/tracers/gstleaks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/tracers/gstleaks.c b/plugins/tracers/gstleaks.c index b32c7d565f..e05bb47df9 100644 --- a/plugins/tracers/gstleaks.c +++ b/plugins/tracers/gstleaks.c @@ -730,6 +730,8 @@ gst_leaks_tracer_finalize (GObject * object) GHashTableIter iter; gpointer obj; + GST_DEBUG_OBJECT (self, "destroying tracer, checking for leaks"); + self->done = TRUE; /* Tracers are destroyed as part of gst_deinit() so now is a good time to |