From 3fd3c23e17f0bae5d46069ff2a8f61cf4bd4aad7 Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Wed, 19 Feb 2020 17:07:29 -0500 Subject: Update ipc-channel and crossbeam-channel. --- components/constellation/Cargo.toml | 4 ++-- components/constellation/constellation.rs | 8 ++++---- components/constellation/pipeline.rs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'components/constellation') diff --git a/components/constellation/Cargo.toml b/components/constellation/Cargo.toml index d832cb59e2c..b60850a7488 100644 --- a/components/constellation/Cargo.toml +++ b/components/constellation/Cargo.toml @@ -16,7 +16,7 @@ backtrace = "0.3" bluetooth_traits = { path = "../bluetooth_traits" } canvas_traits = {path = "../canvas_traits"} compositing = {path = "../compositing"} -crossbeam-channel = "0.3" +crossbeam-channel = "0.4" debugger = {path = "../debugger"} devtools_traits = {path = "../devtools_traits"} euclid = "0.20" @@ -24,7 +24,7 @@ embedder_traits = { path = "../embedder_traits" } gfx = {path = "../gfx"} gfx_traits = {path = "../gfx_traits"} http = "0.1" -ipc-channel = "0.12" +ipc-channel = "0.14" layout_traits = {path = "../layout_traits"} keyboard-types = "0.4.3" log = "0.4" diff --git a/components/constellation/constellation.rs b/components/constellation/constellation.rs index 4151c803599..d037a3b3124 100644 --- a/components/constellation/constellation.rs +++ b/components/constellation/constellation.rs @@ -2563,7 +2563,7 @@ where for receiver in receivers { if let Err(e) = receiver.recv() { - warn!("Failed to receive exit response from WebGPU ({})", e); + warn!("Failed to receive exit response from WebGPU ({:?})", e); } } @@ -2586,10 +2586,10 @@ where // Receive exit signals from threads. if let Err(e) = core_receiver.recv() { - warn!("Exit resource thread failed ({})", e); + warn!("Exit resource thread failed ({:?})", e); } if let Err(e) = storage_receiver.recv() { - warn!("Exit storage thread failed ({})", e); + warn!("Exit storage thread failed ({:?})", e); } debug!("Asking compositor to complete shutdown."); @@ -4838,7 +4838,7 @@ where warn!("Failed to send GetCurrentEpoch ({}).", e); } match epoch_receiver.recv() { - Err(e) => warn!("Failed to receive current epoch ({}).", e), + Err(e) => warn!("Failed to receive current epoch ({:?}).", e), Ok(layout_thread_epoch) => { if layout_thread_epoch != *compositor_epoch { return ReadyToSave::EpochMismatch; diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs index e81f1ab58ae..c56d49962ee 100644 --- a/components/constellation/pipeline.rs +++ b/components/constellation/pipeline.rs @@ -400,7 +400,7 @@ impl Pipeline { self.compositor_proxy .send(CompositorMsg::PipelineExited(self.id, sender)); if let Err(e) = receiver.recv() { - warn!("Sending exit message failed ({}).", e); + warn!("Sending exit message failed ({:?}).", e); } } -- cgit v1.2.3