Doesn't traverse cyclic references in Dict.getAll; reduces empty-Dict garbage

This commit is contained in:
Yury Delendik 2014-03-26 09:07:38 -05:00
parent 9a36184dfa
commit 31f081ae17
7 changed files with 93 additions and 18 deletions

View file

@ -1744,7 +1744,7 @@ var CCITTFaxStream = (function CCITTFaxStreamClosure() {
this.str = str;
this.dict = str.dict;
params = params || new Dict();
params = params || Dict.empty;
this.encoding = params.get('K') || 0;
this.eoline = params.get('EndOfLine') || false;