Skip to content

Commit e58c585

Browse files
committed
refactor(@angular/ssr): remove duplicate resetAngularServerApp method
The `resetAngularServerApp` method was identical to `destroyAngularServerApp` and was mistakenly retained due to an incorrect merge. This commit removes the redundant method.
1 parent 60d24b2 commit e58c585

File tree

1 file changed

+0
-8
lines changed
  • packages/angular/ssr/src

1 file changed

+0
-8
lines changed

packages/angular/ssr/src/app.ts

-8
Original file line numberDiff line numberDiff line change
@@ -89,14 +89,6 @@ export function getOrCreateAngularServerApp(): AngularServerApp {
8989
return (angularServerApp ??= new AngularServerApp());
9090
}
9191

92-
/**
93-
* Resets the instance of `AngularServerApp` to undefined, effectively
94-
* clearing the reference. Use this to recreate the instance.
95-
*/
96-
export function resetAngularServerApp(): void {
97-
angularServerApp = undefined;
98-
}
99-
10092
/**
10193
* Destroys the existing `AngularServerApp` instance, releasing associated resources and resetting the
10294
* reference to `undefined`.

0 commit comments

Comments
 (0)