Skip to content

Commit

Permalink
fix: terminate (#277) (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinleedrum committed Sep 11, 2019
1 parent edbfa91 commit 7fd9197
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7fd9197

Please sign in to comment.