()
| 149 | * @publicApi |
| 150 | */ |
| 151 | export 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, |
no test coverage detected