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

Method ngOnDestroy

src/google-maps/map-polyline/map-polyline.ts:179–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177 }
178
179 ngOnDestroy() {
180 this._eventManager.destroy();
181 this._destroyed.next();
182 this._destroyed.complete();
183 this.polyline?.setMap(null);
184 }
185
186 /**
187 * See

Callers

nothing calls this directly

Calls 2

destroyMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected