We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
this
1 parent f8c62d4 commit 554f86aCopy full SHA for 554f86a
src/index.js
@@ -34,7 +34,7 @@ export default function workerize(code, options) {
34
};
35
worker.terminate = () => {
36
URL.revokeObjectURL(url);
37
- term.call(this);
+ term.call(worker);
38
39
worker.call = (method, params) => new Promise( (resolve, reject) => {
40
let id = `rpc${++counter}`;
0 commit comments