Skip to content

Commit

Permalink
Address deadlock in gstLog by not getting name property on the loggin…
Browse files Browse the repository at this point in the history
…g object (#505)
  • Loading branch information
biglittlebigben authored Sep 29, 2023
1 parent 7cedfb9 commit 6770073
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pkg/pipeline/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)
}

Expand Down

0 comments on commit 6770073

Please sign in to comment.