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
  • Loading branch information
biglittlebigben committed Sep 28, 2023
1 parent 118e374 commit fba2aaf
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 fba2aaf

Please sign in to comment.