Commit 04b220d
authored
fix: remove redundant abort controller (#41)
The signal from this abort controller replaces any user-supplied
signal in forward operations.
When the user supplied signal aborts we call abort on the abort
controller, aborting it's signal.
We do not call `.abort()` on the abort controller for any other
reason, therefore it can be removed and the user-supplied abort
signal can be passed through unmodified.
The redundant abort controller's signal also has the default limit
on the number of event listeners so it causes `"possible EventEmitter
memory leak detected"` warnings in node which people frequently
mistake for an error and file issues about.1 parent 50682bf commit 04b220d
1 file changed
Lines changed: 0 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | 448 | | |
458 | 449 | | |
459 | 450 | | |
| |||
467 | 458 | | |
468 | 459 | | |
469 | 460 | | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | 461 | | |
477 | 462 | | |
478 | 463 | | |
| |||
0 commit comments