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 9064b3b commit 3fe54a6Copy full SHA for 3fe54a6
1 file changed
src/workerfarm/Worker.js
@@ -111,9 +111,8 @@ class Worker extends EventEmitter {
111
} else if (type === 'response') {
112
let call = this.calls.get(idx);
113
if (!call) {
114
- throw new Error(
115
- `Worker Farm: Received message for unknown index for existing child. This should not happen!`
116
- );
+ // Return for unknown calls, these might accur if a third party process uses workers
+ return;
117
}
118
119
if (contentType === 'error') {
0 commit comments