angular/packages/core/src/view
Kristiyan Kostadinov aa0e54fe97 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:11 -07:00
..
element.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
entrypoint.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
errors.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
index.ts fix(core): remove duplicated EMPTY_ARRAY constant (#40991) 2021-03-01 09:00:43 -08:00
ng_content.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ng_module.ts refactor(core): rename ɵɵInjectableDef interface to ɵɵInjectableDeclaration (#41316) 2021-04-07 13:57:12 -07:00
provider.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
pure_expression.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
query.ts fix(core): QueryList should not fire changes if the underlying list did not change. (#40091) 2021-01-14 13:55:02 -08:00
refs.ts fix(core): allow EmbeddedViewRef context to be updated (#40360) 2021-02-23 08:14:01 -08:00
services.ts fix(core): error if DebugRenderer2.destroyNode is called twice in a row (#41565) 2021-04-12 10:30:11 -07:00
text.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
types.ts fix(core): QueryList should not fire changes if the underlying list did not change. (#40091) 2021-01-14 13:55:02 -08:00
util.ts fix(core): remove duplicated EMPTY_ARRAY constant (#40991) 2021-03-01 09:00:43 -08:00
view.ts fix(core): QueryList should not fire changes if the underlying list did not change. (#40091) 2021-01-14 13:55:02 -08:00
view_attach.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00