mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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(
|
||||
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