mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Invoking callback via setTimeout
This commit is contained in:
parent
c414c76461
commit
3c1d63055d
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ var FontLoader = {
|
|||
// it's simple completion for one request
|
||||
context.pending = 0;
|
||||
context.requests.pop();
|
||||
callback();
|
||||
setTimeout(callback, 0);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue