| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent c6adf4b commit e8a6cc8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -62,7 +62,8 @@ MessagePort.prototype.unref = MessagePortPrototype.unref; | |||
| 62 | 62 | // .onmessage events, and a function used for sending data to a MessagePort | |
| 63 | 63 | // in some other thread. | |
| 64 | 64 | MessagePort.prototype[kOnMessageListener] = function onmessage(payload) { | |
| 65 | - debug(`[${threadId}] received message`, payload); | ||
| 65 | + if (payload.type !== messageTypes.STDIO_WANTS_MORE_DATA) | ||
| 66 | + debug(`[${threadId}] received message`, payload); | ||
| 66 | 67 | // Emit the deserialized object to userland. | |
| 67 | 68 | this.emit('message', payload); | |
| 68 | 69 | }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments