mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -35,7 +35,7 @@ impl Actor for PreferenceActor {
|
|||
from: self.name(),
|
||||
value: false,
|
||||
};
|
||||
stream.write_json_packet(&reply);
|
||||
let _ = stream.write_json_packet(&reply);
|
||||
ActorMessageStatus::Processed
|
||||
},
|
||||
|
||||
|
@ -44,7 +44,7 @@ impl Actor for PreferenceActor {
|
|||
from: self.name(),
|
||||
value: "".to_owned(),
|
||||
};
|
||||
stream.write_json_packet(&reply);
|
||||
let _ = stream.write_json_packet(&reply);
|
||||
ActorMessageStatus::Processed
|
||||
},
|
||||
|
||||
|
@ -53,7 +53,7 @@ impl Actor for PreferenceActor {
|
|||
from: self.name(),
|
||||
value: 0,
|
||||
};
|
||||
stream.write_json_packet(&reply);
|
||||
let _ = stream.write_json_packet(&reply);
|
||||
ActorMessageStatus::Processed
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue