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 47a0284 commit 504f4e0Copy full SHA for 504f4e0
src/library_pthread.js
@@ -296,7 +296,10 @@ var LibraryPThread = {
296
if (Module['onAbort']) {
297
Module['onAbort'](d['arg']);
298
}
299
- } else {
+ } else if (cmd) {
300
+ // The received message looks like something that should be handled by this message
301
+ // handler, (since there is a e.data.cmd field present), but is not one of the
302
+ // recognized commands:
303
err("worker sent an unknown command " + cmd);
304
305
PThread.currentProxiedOperationCallerThread = undefined;
0 commit comments