From 67700731ab5f9cfd41e49bd1e787f4184ba3ffba Mon Sep 17 00:00:00 2001 From: Benjamin Pracht Date: Fri, 29 Sep 2023 12:36:28 -0700 Subject: [PATCH] Address deadlock in gstLog by not getting name property on the logging object (#505) --- pkg/pipeline/watch.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/pipeline/watch.go b/pkg/pipeline/watch.go index 93f587ee..49bdfed9 100644 --- a/pkg/pipeline/watch.go +++ b/pkg/pipeline/watch.go @@ -109,12 +109,6 @@ func (c *Controller) gstLog(level gst.DebugLevel, file, function string, line in msg = fmt.Sprintf("[gst %s] %s", lvl, message) } args := []interface{}{"caller", fmt.Sprintf("%s:%d", file, line)} - if obj != nil { - name, err := obj.GetProperty("name") - if err == nil { - args = append(args, "object", name.(string)) - } - } c.gstLogger.Debugw(msg, args...) }