Commit a0bac18
committed
fix: remove abort event listener on successful completion in fetchWithTimeout
When an AbortSignal is passed to fetchWithTimeout, the method adds an
event listener to forward abort events to the internal controller but
never removes it on successful completion. In Deno, this refs the
underlying timer of AbortSignal.timeout(), preventing the process from
exiting until the full timeout duration elapses.
Fixes #18111 parent 35feb53 commit a0bac18
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
892 | 892 | | |
893 | 893 | | |
894 | 894 | | |
| 895 | + | |
895 | 896 | | |
896 | 897 | | |
897 | 898 | | |
| |||
0 commit comments