ngOnDestroy method
Executed before the directive is removed from the DOM and destroyed.
See OnDestroy
for a full description.
Implementation
@override
ngOnDestroy() {
_subscription!.cancel();
_subscription = null;
}
Executed before the directive is removed from the DOM and destroyed.
See OnDestroy
for a full description.
@override
ngOnDestroy() {
_subscription!.cancel();
_subscription = null;
}