mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
devtools: Don't panic when sending to a disconnected client fails.
This commit is contained in:
parent
611c57bfdf
commit
0b619bf920
16 changed files with 107 additions and 85 deletions
|
@ -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
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue