@ -12964,9 +12965,16 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -12964,9 +12965,16 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
thrownewError('Cannot use the same canvas during multiple render() operations. '+'Use different canvas or ensure previous operations were '+'cancelled or completed.');
}
canvasInRendering.set(this._canvas,this);
}
if(this.cancelled){
return;
}
@ -12992,6 +13000,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -12992,6 +13000,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@ -13040,6 +13051,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -13040,6 +13051,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
this.running=false;
if(this.operatorList.lastChunk){
this.gfx.endDrawing();
if(this._canvas){
canvasInRendering.delete(this._canvas);
}
this.callback();
}
}
@ -13063,8 +13077,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
@@ -13063,8 +13077,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
varversion,build;
{
exports.version=version='1.8.444';
exports.build=build='c26e4972';
exports.version=version='1.8.446';
exports.build=build='e5ac64f8';
}
exports.getDocument=getDocument;
exports.LoopbackPort=LoopbackPort;
@ -28413,8 +28427,8 @@ if (!_util.globalScope.PDFJS) {
@@ -28413,8 +28427,8 @@ if (!_util.globalScope.PDFJS) {
@ -3693,9 +3694,16 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -3693,9 +3694,16 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
thrownewError('Cannot use the same canvas during multiple render() operations. '+'Use different canvas or ensure previous operations were '+'cancelled or completed.');
}
canvasInRendering.set(this._canvas,this);
}
if(this.cancelled){
return;
}
@ -3721,6 +3729,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -3721,6 +3729,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@ -3769,6 +3780,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -3769,6 +3780,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
this.running=false;
if(this.operatorList.lastChunk){
this.gfx.endDrawing();
if(this._canvas){
canvasInRendering.delete(this._canvas);
}
this.callback();
}
}
@ -3792,8 +3806,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
@@ -3792,8 +3806,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
}();
varversion,build;
{
exports.version=version='1.8.444';
exports.build=build='c26e4972';
exports.version=version='1.8.446';
exports.build=build='e5ac64f8';
}
exports.getDocument=getDocument;
exports.LoopbackPort=LoopbackPort;
@ -5766,8 +5780,8 @@ if (!_util.globalScope.PDFJS) {
@@ -5766,8 +5780,8 @@ if (!_util.globalScope.PDFJS) {
@ -1330,9 +1331,16 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -1330,9 +1331,16 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
thrownewError('Cannot use the same canvas during multiple render() operations. '+'Use different canvas or ensure previous operations were '+'cancelled or completed.');
}
canvasInRendering.set(this._canvas,this);
}
if(this.cancelled){
return;
}
@ -1358,6 +1366,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -1358,6 +1366,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@ -1406,6 +1417,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
@@ -1406,6 +1417,9 @@ var InternalRenderTask = function InternalRenderTaskClosure() {
this.running=false;
if(this.operatorList.lastChunk){
this.gfx.endDrawing();
if(this._canvas){
canvasInRendering.delete(this._canvas);
}
this.callback();
}
}
@ -1429,8 +1443,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {
@@ -1429,8 +1443,8 @@ var _UnsupportedManager = function UnsupportedManagerClosure() {