MCPcopy Create free account
hub / github.com/angular/components / ngOnDestroy

Method ngOnDestroy

src/cdk/table/row.ts:283–289  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281 }
282
283 ngOnDestroy() {
284 // If this was the last outlet being rendered in the view, remove the reference
285 // from the static property after it has been destroyed to avoid leaking memory.
286 if (CdkCellOutlet.mostRecentCellOutlet === this) {
287 CdkCellOutlet.mostRecentCellOutlet = null;
288 }
289 }
290}
291
292/** Header template container that contains the cell outlet. Adds the right class and role. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected