Silently ignore errors sending time profiling data.

This commit is contained in:
Josh Matthews 2016-11-07 15:33:30 -05:00 committed by GitHub
parent 04e2af0b22
commit fd51bcb983

View file

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