mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
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>
This commit is contained in:
parent
81778f9d93
commit
aaaf85054f
1 changed files with 2 additions and 0 deletions
|
@ -730,6 +730,8 @@ gst_leaks_tracer_finalize (GObject * object)
|
||||||
GHashTableIter iter;
|
GHashTableIter iter;
|
||||||
gpointer obj;
|
gpointer obj;
|
||||||
|
|
||||||
|
GST_DEBUG_OBJECT (self, "destroying tracer, checking for leaks");
|
||||||
|
|
||||||
self->done = TRUE;
|
self->done = TRUE;
|
||||||
|
|
||||||
/* Tracers are destroyed as part of gst_deinit() so now is a good time to
|
/* Tracers are destroyed as part of gst_deinit() so now is a good time to
|
||||||
|
|
Loading…
Reference in a new issue