Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/angular
/ destroy
Method
destroy
packages/core/src/render3/component_ref.ts:620–622 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
618
}
619
620
override destroy(): void {
621
this.hostView.destroy();
622
}
623
624
override onDestroy(callback: () => void): void {
625
this.hostView.onDestroy(callback);
Callers
nothing calls this directly
Calls
1
destroy
Method · 0.65
Tested by
no test coverage detected