mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
174ce7dd13
This commit implements the `destroy` method on the `ApplicationRef` class. This feature is a preparation for the new logic to bootstrap (and teardown) standalone components (without going through the `NgModuleRef` destroy), which would return an instance of the `ApplicationRef` (the current bootstrap APIs return an instance of the `NgModuleRef`). PR Close #45624