angular/packages/service-worker/test
arturovt e598634c10 fix(service-worker): remove controllerchange listener when app is destroyed (#55365)
This commit updates the `ngswAppInitializer` implementation and removes the `controllerchange`
listener upon the destruction of the `ApplicationRef`. This adjustment aims to prevent memory
leaks. In a zone.js environment, neglecting to do so could lead to the perpetual creation of
a zone task, which captures the zone and obstructs proper garbage collection.

PR Close #55365
2024-05-21 14:04:22 -07:00
..
BUILD.bazel refactor: update service-worker tests to work with ESM (#48521) 2022-12-19 19:50:44 +00:00
comm_spec.ts refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
integration_spec.ts refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
provider_spec.ts fix(service-worker): remove controllerchange listener when app is destroyed (#55365) 2024-05-21 14:04:22 -07:00