diff options
author | Matt Mastracci <matthew@mastracci.com> | 2024-04-29 09:40:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-29 09:40:02 -0600 |
commit | 56fec538e1aa7558dc4a7adea7134394f76251f6 (patch) | |
tree | a43d3529f51d5fe9da8e5bc236619c81f3434ff4 /tests/specs/jsr/module_graph2/main.ts | |
parent | da52058a945999d486b07700d2834f027a65947c (diff) |
fix(ext/http): ensure signal is created iff requested (#23601)
This correctly creates the `AbortSignal` regardless of when we request
it. If the signal is requested after the request has completed, the
signal is created in the aborted state.
Using GC counts, we can see a reduction in object creation:
This PR: 440
deno 1.42.4: 1650
deno 1.43.0+b02ffec: 874
Diffstat (limited to 'tests/specs/jsr/module_graph2/main.ts')
0 files changed, 0 insertions, 0 deletions