Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/angular/components
/ ngOnDestroy
Method
ngOnDestroy
src/google-maps/map-kml-layer/map-kml-layer.ts:123–128 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
121
}
122
123
ngOnDestroy() {
124
this._eventManager.destroy();
125
this._destroyed.next();
126
this._destroyed.complete();
127
this.kmlLayer?.setMap(null);
128
}
129
130
/**
131
* See
Callers
nothing calls this directly
Calls
2
destroy
Method · 0.65
next
Method · 0.45
Tested by
no test coverage detected