angular/packages/common/test/pipes
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
..
async_pipe_spec.ts refactor(common): clear ChangeDetectorRef when AsyncPipe is destroyed (#46128) 2022-06-02 13:42:38 -07:00
case_conversion_pipes_spec.ts fix(common): titlecase pipe incorrectly handling numbers (#43476) 2021-09-20 21:56:45 +00:00
date_pipe_spec.ts refactor(compiler): delete View Engine components of @angular/compiler (#44368) 2021-12-06 13:12:36 -05:00
i18n_plural_pipe_spec.ts refactor(compiler): delete View Engine components of @angular/compiler (#44368) 2021-12-06 13:12:36 -05:00
i18n_select_pipe_spec.ts refactor(compiler): delete View Engine components of @angular/compiler (#44368) 2021-12-06 13:12:36 -05:00
json_pipe_spec.ts feat(core): update reference and doc to change async to waitAsync. (#37583) 2020-08-03 12:54:13 -07:00
keyvalue_pipe_spec.ts fix(common): re-sort output of KeyValuePipe when compareFn changes (#42821) 2021-07-13 11:33:21 -07:00
number_pipe_spec.ts refactor(common): make the error messages tree shakable (#44663) 2022-01-18 10:31:44 -08:00
slice_pipe_spec.ts fix(common): correct typing and implementation of SlicePipe (#37447) 2020-09-28 12:23:33 -04:00