mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01:00
Send a response to font load initiators even when a font is ignored.
This commit is contained in:
parent
3d8881c6f2
commit
afb4d90ad3
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ impl FontCache {
|
|||
}
|
||||
ResponseAction::ResponseComplete(Ok(_)) => {
|
||||
if !*response_valid.lock().unwrap() {
|
||||
drop(result.send(()));
|
||||
return;
|
||||
}
|
||||
let mut bytes = bytes.lock().unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue