Re: [whatwg/fetch] cleanup signal listener (#1287)

Yeah, I think removing the algorithm when "done" with it makes sense, and you're right it's necessary to make the signal eligible for GC. I ran into this when I was first prototyping `AbortSignal.any()`, and I ended up auditing all AbortSignal usage in Blink and changing things so the algorithms always get removed. Fixing this in specs is one of the follow-up issues for any() that was identified (mentioned in https://github.com/whatwg/dom/issues/1194),  which is on my radar to fix.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/1287#issuecomment-1615123082
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/issues/1287/1615123082@github.com>

Received on Friday, 30 June 2023 19:47:06 UTC