According to https://angular.io/guide/lifecycle-hooks#ondestroy "Put cleanup logic in ngOnDestroy(), the logic that must run before Angular destroys the directive." PR Close #34513
According to https://angular.io/guide/lifecycle-hooks#ondestroy "Put cleanup logic in ngOnDestroy(), the logic that must run before Angular destroys the directive." PR Close #34513