MCPcopy Create free account
hub / github.com/angular/angular / destroyPlatform

Function destroyPlatform

packages/core/src/platform/platform.ts:151–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 * @publicApi
150 */
151export function destroyPlatform(): void {
152 if (typeof ngDevMode !== 'undefined' && ngDevMode) {
153 _unregisterAiTools?.();
154 _unregisterAiTools = null;
155 }
156
157 getPlatform()?.destroy();
158}
159
160/**
161 * The goal of this function is to bootstrap a platform injector,

Calls 2

getPlatformFunction · 0.85
destroyMethod · 0.65

Tested by

no test coverage detected