angular-cn/packages/core
JoostK a529d4f4f8 fix(core): do not retain dynamically compiled components and modules (#42003)
The JIT compiler has a mapping from component to the owning NgModule
and tracks whether a certain NgModule class has been verified; these
maps causes any JIT compiled component and NgModule to be retained even
if they are no longer referenced from anywhere else. This commit
switches the maps to `WeakMap` to allow garbage collecting any
components and NgModules that are no longer referenced elsewhere.

Fixes #19997

PR Close #42003
2021-05-10 10:36:21 -04:00
..
global build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
schematics feat(core): add migration for `XhrFactory` import (#41313) 2021-03-29 15:14:16 -07:00
src fix(core): do not retain dynamically compiled components and modules (#42003) 2021-05-10 10:36:21 -04:00
test fix(core): invoke profiler around ngOnDestroy lifecycle hooks (#41969) 2021-05-07 10:04:21 -04:00
testing refactor(core): add single type for injector token (#41580) 2021-04-22 10:47:12 -07:00
BUILD.bazel fix(core): disable tsickle pass when producing APF packages (#37221) 2020-05-21 09:14:47 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
index.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
package.json fix(core): update supported range of node versions to only include LTS versions (#41822) 2021-04-26 15:21:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00