Send a response to font load initiators even when a font is ignored.

This commit is contained in:
Josh Matthews 2015-11-26 11:03:38 -05:00
parent 3d8881c6f2
commit afb4d90ad3

View file

@ -192,6 +192,7 @@ impl FontCache {
} }
ResponseAction::ResponseComplete(Ok(_)) => { ResponseAction::ResponseComplete(Ok(_)) => {
if !*response_valid.lock().unwrap() { if !*response_valid.lock().unwrap() {
drop(result.send(()));
return; return;
} }
let mut bytes = bytes.lock().unwrap(); let mut bytes = bytes.lock().unwrap();