diff --git a/src/imageLoader/webWorkerManager.js b/src/imageLoader/webWorkerManager.js index c11826f9..7954fe04 100644 --- a/src/imageLoader/webWorkerManager.js +++ b/src/imageLoader/webWorkerManager.js @@ -166,7 +166,7 @@ function initialize (configObject) { */ function terminate () { for (let i = 0; i < webWorkers.length; i++) { - webWorkers[i].terminate(); + webWorkers[i].worker.terminate(); } webWorkers.length = 0; config = undefined;