tracers: unlock leaks tracer if already tracking
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7954>
This commit is contained in:
parent
5b5c4147d3
commit
6f20cd69fe
@ -1045,6 +1045,7 @@ gst_leaks_tracer_activity_start_tracking (GstLeaksTracer * self)
|
||||
GST_OBJECT_LOCK (self);
|
||||
if (self->added) {
|
||||
GST_ERROR_OBJECT (self, "tracking is already in progress");
|
||||
GST_OBJECT_UNLOCK (self);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user