Skip to content

Commit

Permalink
fix(tooltip): tooltipChange unsubscribe on destroy (#5431)
Browse files Browse the repository at this point in the history
  • Loading branch information
haridevelops authored and Domainv committed Oct 28, 2019
1 parent bc70e3b commit 6adf5f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tooltip/tooltip.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,5 +345,6 @@ export class TooltipDirective implements OnInit, OnDestroy {

ngOnDestroy(): void {
this._tooltip.dispose();
this.tooltipChange.unsubscribe();
}
}

0 comments on commit 6adf5f0

Please sign in to comment.