From aaaf85054f1235d2c22ab19ad909f98edf96cacd Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 25 May 2021 13:26:11 +0200 Subject: [PATCH] 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: --- plugins/tracers/gstleaks.c | 2 ++ 1 file changed, 2 insertions(+) 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