mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
servo: Merge #14119 - Address common source of shutdown panics (from servo:jdm-patch-1); r=mbrubeck
Remove easy sources of intermittent failures during test shutdown. Might help #14118 and #14117. Source-Repo: https://github.com/servo/servo Source-Revision: 5173a655219d5eff64d4702718cfa63c2c44e1b3
This commit is contained in:
parent
d743abdc2d
commit
0a362facce
@ -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…
Reference in New Issue
Block a user