mirror of
https://github.com/servo/servo.git
synced 2025-08-02 12:10:29 +01:00
Auto merge of #8818 - jdm:imagepanic, r=Manishearth
Make IPC image cache listener silently drop failures instead of catas… …trophically panicking. Resolves #8817. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8818) <!-- Reviewable:end -->
This commit is contained in:
commit
39a36a0098
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@ impl HTMLImageElement {
|
|||
let runnable = ImageResponseHandlerRunnable::new(
|
||||
trusted_node.clone(), image_response);
|
||||
let runnable = wrapper.wrap_runnable(runnable);
|
||||
script_chan.send(CommonScriptMsg::RunnableMsg(
|
||||
UpdateReplacedElement, runnable)).unwrap();
|
||||
let _ = script_chan.send(CommonScriptMsg::RunnableMsg(
|
||||
UpdateReplacedElement, runnable));
|
||||
});
|
||||
|
||||
image_cache.request_image(img_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue