mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
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:
commit
5173a65521
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue