Auto merge of #14119 - servo:jdm-patch-1, r=mbrubeck

Address common source of shutdown panics

Remove easy sources of intermittent failures during test shutdown. Might help #14118 and #14117.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14119)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-11-08 12:23:56 -06:00 committed by GitHub
commit 5173a65521
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ pub trait OpaqueSender<T> {
impl<T> OpaqueSender<T> for Sender<T> {
fn send(&self, message: T) {
Sender::send(self, message).unwrap();
let _ = Sender::send(self, message);
}
}

View file

@ -22,7 +22,7 @@ pub struct ProfilerChan(pub IpcSender<ProfilerMsg>);
impl ProfilerChan {
pub fn send(&self, msg: ProfilerMsg) {
self.0.send(msg).unwrap();
let _ = self.0.send(msg);
}
}