angular/packages/core/src
Kristiyan Kostadinov 419c189ad3 fix(core): error if DebugRenderer2.destroyNode is called twice in a row (#41565)
Fixes an error that will be thrown if  `DebugRenderer2.destroyNode` is called with a node that has already been destroyed. The error happened, because we had a non-null assertion, even though the value can be null.

Note that this fix applies only to ViewEngine, because Ivy doesn't provide the `DebugRenderer2`. I decided to resolve it, because it fix is straightforward and this error has been showing up in our logs for a long time now, making actual errors harder to find.

PR Close #41565
2021-04-12 10:30:13 -07:00
..
change_detection docs: improve examples, description of PipeTransform (#40863) 2021-02-23 13:15:44 -08:00
compiler refactor(compiler): move factory out of injector definition (#41022) (#41133) 2021-03-09 08:51:59 -08:00
debug refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
di refactor(compiler): move factory out of injector definition (#41022) (#41133) 2021-03-09 08:51:59 -08:00
i18n build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
interface docs(core): Fix typo in JSDoc for AbstractType<T> (#38541) 2020-08-20 09:30:17 -07:00
linker docs: fix typo (#40566) 2021-01-25 14:55:56 -08:00
metadata refactor(compiler): move factory out of injector definition (#41022) (#41133) 2021-03-09 08:51:59 -08:00
reflection fix(ngcc): detect synthesized delegate constructors for downleveled ES2015 classes (#38463) 2020-08-17 10:55:40 -07:00
render refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
render3 perf(core): add private hooks around user code executed by the runtime (#41421) 2021-04-02 12:05:10 -07:00
sanitization fix(core): ensure sanitizer works if DOMParser return null body (#40107) 2021-01-06 10:32:24 -08:00
testability build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
util fix(core): address Trusted Types bug in Chrome 83 (#40815) 2021-02-12 16:59:58 -08:00
view fix(core): error if DebugRenderer2.destroyNode is called twice in a row (#41565) 2021-04-12 10:30:13 -07:00
zone fix(core): remove duplicated noop function (#39761) 2020-11-19 12:14:12 -08:00
application_init.ts refactor(core): Replace non-null assertion operator with property initialization (#39730) 2020-11-18 09:14:41 -08:00
application_module.ts perf(core): use ngDevMode to tree-shake warning (#40876) 2021-02-17 11:41:28 -08:00
application_ref.ts perf(core): use ngDevMode to tree-shake warning (#40876) 2021-02-17 11:41:28 -08:00
application_tokens.ts docs: clean up api doc in core (#37053) 2020-06-30 12:11:15 -07:00
change_detection.ts fix(core): remove CollectionChangeRecord symbol (#38668) 2020-09-02 16:45:19 -07:00
codegen_private_exports.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
console.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.externs.js build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
core.ts fix(core): do not error when ngDevMode is undeclared (#39415) 2020-10-27 10:45:18 -07:00
core_private_export.ts feat(common): allow any Subscribable in async pipe (#39627) 2020-11-23 08:28:11 -08:00
core_render3_private_export.ts perf(core): add private hooks around user code executed by the runtime (#41421) 2021-04-02 12:05:10 -07:00
di.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
error_handler.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
errors.ts refactor(core): reduce the number of circular deps (#38805) 2020-09-18 11:20:08 -07:00
event_emitter.ts refactor(core): remove deprecated rxjs signature usage in event emitter and make more minifier-friendly (#41450) 2021-04-07 11:53:09 -07:00
ivy_switch.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
linker.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
metadata.ts refactor(core): move injectAttributeImpl to avoid cycles (#37085) 2020-11-19 12:19:42 -08:00
platform_core_providers.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
r3_symbols.ts refactor(core): Remove circular dependency on render3 and ng_module (#39621) 2020-11-16 09:12:46 -08:00
render.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
version.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
zone.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00