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 58e548e commit bcbc798Copy full SHA for bcbc798
src/classes/worker.ts
@@ -1332,7 +1332,7 @@ will never work with more accuracy than 1ms. */
1332
1333
if (isNotConnectionError(<Error>err)) {
1334
// Emit error when not paused or closing; optionally swallow (no throw) when opts.onlyEmitError is set.
1335
- if (!(this.paused || this.closing)) {
+ if (!this.paused && !this.closing) {
1336
this.emit('error', <Error>err);
1337
}
1338
0 commit comments