devtools: Don't panic when sending to a disconnected client fails.

This commit is contained in:
Josh Matthews 2020-08-05 14:55:48 -04:00
parent 611c57bfdf
commit 0b619bf920
16 changed files with 107 additions and 85 deletions

View file

@ -160,7 +160,7 @@ impl Actor for BrowsingContextActor {
}
}
}
stream.write_json_packet(&ReconfigureReply { from: self.name() });
let _ = stream.write_json_packet(&ReconfigureReply { from: self.name() });
ActorMessageStatus::Processed
},
@ -215,7 +215,7 @@ impl Actor for BrowsingContextActor {
title: self.title.borrow().clone(),
}],
};
stream.write_json_packet(&msg);
let _ = stream.write_json_packet(&msg);
ActorMessageStatus::Processed
},