Commit b8f9e0ef authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

threadshare/udpsink: Don't hold settings lock while getting clients property

Otherwise we can deadlock between this and render().
parent e1784ea0
Pipeline #189633 passed with stages
in 29 minutes and 32 seconds
......@@ -1380,6 +1380,8 @@ impl ObjectImpl for UdpSink {
subclass::Property("ttl-mc", ..) => Ok(settings.ttl_mc.to_value()),
subclass::Property("qos-dscp", ..) => Ok(settings.qos_dscp.to_value()),
subclass::Property("clients", ..) => {
drop(settings);
let clients: Vec<String> = self
.sink_pad_handler
.get_clients()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment