Fixes #8102 Removed unwrap on result of send call

This commit is contained in:
nxnfufunezn 2015-10-22 06:13:29 -04:00
parent ea000471d3
commit fe2a4ac444

View file

@ -386,9 +386,8 @@ impl CompositorLayer for Layer<CompositorData> {
where Window: WindowMethods {
let message = MouseMoveEvent(cursor.to_untyped());
if let Some(pipeline) = compositor.pipeline(self.pipeline_id()) {
pipeline.script_chan
.send(ConstellationControlMsg::SendEvent(pipeline.id.clone(), message))
.unwrap();
let _ = pipeline.script_chan
.send(ConstellationControlMsg::SendEvent(pipeline.id.clone(), message));
}
}