angular/packages/common/test
JoostK 99a15ec25f refactor(common): clear ChangeDetectorRef when AsyncPipe is destroyed (#46128)
To mitigate the effect of Observables with memory leak, this change clears
the `ChangeDetectorRef` when the `AsyncPipe` is destroyed. This avoids any
leak within the `Observable` to retain the view data. A test has been added
to verify that this change works correctly with promises that resolve _after_
the pipe has been destroyed.

Note: this is not marked as fix as `AsyncPipe` itself is _not_ leaking any
memory.

Closes #17624

PR Close #46128
2022-06-02 13:42:38 -07:00
..
directives feat(core): allow for injector to be specified when creating an embedded view (#45156) 2022-03-02 16:38:00 +00:00
i18n build(common): update CLDR to version 41 (#45714) 2022-04-29 12:20:08 -04:00
location test(common): Fix flaky Location test (#45683) 2022-04-19 20:17:56 -07:00
pipes refactor(common): clear ChangeDetectorRef when AsyncPipe is destroyed (#46128) 2022-06-02 13:42:38 -07:00
BUILD.bazel build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
cookie_spec.ts test: clean up internal testing utilities (#42177) 2021-05-26 20:07:25 +00:00
viewport_scroller_spec.ts build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00:00