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.
1 parent 4e9ba14 commit c5110bfCopy full SHA for c5110bf
src/worker.js
@@ -284,7 +284,10 @@ self.onmessage = (e) => {
284
// Defer executing this queue until the runtime is initialized.
285
pendingNotifiedProxyingQueues.push(e.data.queue);
286
}
287
- } else {
+ } else if (e.data.cmd) {
288
+ // The received message looks like something that should be handled by this message
289
+ // handler, (since there is a e.data.cmd field present), but is not one of the
290
+ // recognized commands:
291
err('worker.js received unknown command ' + e.data.cmd);
292
err(e.data);
293
0 commit comments