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.
2 parents f8c62d4 + 554f86a commit 53f6077Copy full SHA for 53f6077
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