angular/packages/zone.js/lib/common
arturovt 02de7fc731 fix(zone.js): remove abort listener once fetch is settled (#57882)
This commit updates the `fetch` patch for zone.js. Currently, we're attaching an
`abort` event listener on the signal (when it's provided) and never removing it.
We should be good citizens and remove event listeners whenever objects need to be
properly collected. In Firefox, when saving a heap snapshot and running it through
`fxsnapshot`, querying `AbortSignal` will print a so-called "CaptureMap" with a list
of "lambdas," indicating that the signal is not garbage collected because of the event
listener lambda function.

PR Close #57882
2024-10-07 08:27:54 -07:00
..
error-rewrite.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
events.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
fetch.ts fix(zone.js): remove abort listener once fetch is settled (#57882) 2024-10-07 08:27:54 -07:00
promise.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
queue-microtask.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
rollup-error-rewrite.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
rollup-fetch.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
timers.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
to-string.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00
utils.ts refactor: update license text to point to angular.dev (#57902) 2024-09-24 15:28:46 +02:00