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

Method ngOnDestroy

src/google-maps/google-map/google-map.ts:333–341  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

331 }
332
333 ngOnDestroy() {
334 this.mapInitialized.complete();
335 this._eventManager.destroy();
336
337 if (this._isBrowser) {
338 const googleMapsWindow: GoogleMapsWindow = window;
339 googleMapsWindow.gm_authFailure = this._existingAuthFailureCallback;
340 }
341 }
342
343 /**
344 * See

Callers

nothing calls this directly

Calls 1

destroyMethod · 0.65

Tested by

no test coverage detected