mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Avoid allocations in executeCommand().
This commit is contained in:
parent
3759c11f42
commit
6c698519cd
1 changed files with 1 additions and 1 deletions
|
@ -4779,7 +4779,7 @@ var Type1CharString = (function Type1CharStringClosure() {
|
|||
if (keepStack) {
|
||||
this.stack.splice(start, howManyArgs);
|
||||
} else {
|
||||
this.stack = [];
|
||||
this.stack.length = 0;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue