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

@ -54,7 +54,7 @@ impl Actor for TabDescriptorActor {
let frame = registry
.find::<BrowsingContextActor>(&self.browsing_context_actor)
.encodable();
stream.write_json_packet(&GetTargetReply {
let _ = stream.write_json_packet(&GetTargetReply {
from: self.name(),
frame,
});