Reset annotation stream; reset page annotation promise
This commit is contained in:
parent
6fbbcf5c93
commit
10af056f8f
@ -520,6 +520,7 @@ var PDFPageProxy = (function PDFPageProxyClosure() {
|
|||||||
|
|
||||||
delete this.operatorList;
|
delete this.operatorList;
|
||||||
delete this.displayReadyPromise;
|
delete this.displayReadyPromise;
|
||||||
|
delete this.annotationsPromise;
|
||||||
this.objs.clear();
|
this.objs.clear();
|
||||||
this.pendingDestroy = false;
|
this.pendingDestroy = false;
|
||||||
},
|
},
|
||||||
|
@ -216,6 +216,8 @@ var Annotation = (function AnnotationClosure() {
|
|||||||
evaluator.getOperatorList(this.appearance, resources, opList);
|
evaluator.getOperatorList(this.appearance, resources, opList);
|
||||||
opList.addOp(OPS.endAnnotation, []);
|
opList.addOp(OPS.endAnnotation, []);
|
||||||
promise.resolve(opList);
|
promise.resolve(opList);
|
||||||
|
|
||||||
|
this.appearance.reset();
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
return promise;
|
return promise;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user