mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Make IPC image cache listener silently drop failures instead of catastrophically panicking. Resolves #8817.
This commit is contained in:
parent
8fb3c46a03
commit
5857b41a61
1 changed files with 2 additions and 2 deletions
|
@ -117,8 +117,8 @@ impl HTMLImageElement {
|
||||||
let runnable = ImageResponseHandlerRunnable::new(
|
let runnable = ImageResponseHandlerRunnable::new(
|
||||||
trusted_node.clone(), image_response);
|
trusted_node.clone(), image_response);
|
||||||
let runnable = wrapper.wrap_runnable(runnable);
|
let runnable = wrapper.wrap_runnable(runnable);
|
||||||
script_chan.send(CommonScriptMsg::RunnableMsg(
|
let _ = script_chan.send(CommonScriptMsg::RunnableMsg(
|
||||||
UpdateReplacedElement, runnable)).unwrap();
|
UpdateReplacedElement, runnable));
|
||||||
});
|
});
|
||||||
|
|
||||||
image_cache.request_image(img_url,
|
image_cache.request_image(img_url,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue