( deferBlock: DehydratedDeferBlock | null, hydratedBlocks: string[], registry: DehydratedBlockRegistry, appRef: ApplicationRef, )
| 151 | * dehydrated views and containers |
| 152 | */ |
| 153 | export function cleanupHydratedDeferBlocks( |
| 154 | deferBlock: DehydratedDeferBlock | null, |
| 155 | hydratedBlocks: string[], |
| 156 | registry: DehydratedBlockRegistry, |
| 157 | appRef: ApplicationRef, |
| 158 | ): void { |
| 159 | if (deferBlock !== null) { |
| 160 | registry.cleanup(hydratedBlocks); |
| 161 | cleanupLContainer(deferBlock.lContainer); |
| 162 | cleanupDehydratedViews(appRef); |
| 163 | } |
| 164 | } |
no test coverage detected