Skip to content

Commit b324a9f

Browse files
authored
Remove handlers for unused pthread messages. NFC (#19685)
1 parent 483fd09 commit b324a9f

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/library_pthread.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,6 @@ var LibraryPThread = {
302302
}
303303
#endif
304304
onFinishedLoading(worker);
305-
} else if (cmd === 'print') {
306-
out('Thread ' + d['threadId'] + ': ' + d['text']);
307-
} else if (cmd === 'printErr') {
308-
err('Thread ' + d['threadId'] + ': ' + d['text']);
309305
} else if (cmd === 'alert') {
310306
alert('Thread ' + d['threadId'] + ': ' + d['text']);
311307
} else if (d.target === 'setimmediate') {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
15207
1+
15091

0 commit comments

Comments
 (0)