From 172d296c8be3207d84be4422ab1f0a87a3286017 Mon Sep 17 00:00:00 2001 From: Alan Jeffrey Date: Thu, 30 Jul 2020 13:31:12 -0500 Subject: [PATCH] Replace a bounded channel by an unbounded one in the gstreamer plugin --- ports/gstplugin/servowebsrc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports/gstplugin/servowebsrc.rs b/ports/gstplugin/servowebsrc.rs index 4906d3875c4..4a8e8291b00 100644 --- a/ports/gstplugin/servowebsrc.rs +++ b/ports/gstplugin/servowebsrc.rs @@ -962,7 +962,7 @@ impl ServoWebSrc { if gfx.swap_chain.is_none() { debug!("Getting the swap chain"); - let (acks, ackr) = crossbeam_channel::bounded(1); + let (acks, ackr) = crossbeam_channel::unbounded(); let _ = self.sender.send(ServoWebSrcMsg::GetSwapChain(acks)); gfx.swap_chain = ackr.recv_timeout(Duration::from_millis(16)).ok(); }