aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx/paint_thread.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/gfx/paint_thread.rs')
-rw-r--r--components/gfx/paint_thread.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gfx/paint_thread.rs b/components/gfx/paint_thread.rs
index 648912b0351..9a7b6e3c49c 100644
--- a/components/gfx/paint_thread.rs
+++ b/components/gfx/paint_thread.rs
@@ -435,7 +435,7 @@ impl<C> PaintThread<C> where C: PaintListener + Send + 'static {
}
debug!("paint_thread: shutdown_chan send");
- shutdown_chan.send(()).unwrap();
+ let _ = shutdown_chan.send(());
}, Some(id), panic_chan);
}