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