From 6adf5f0240a31e719e6f218dfe5be1a8b814c91b Mon Sep 17 00:00:00 2001 From: Harisudhan Date: Mon, 28 Oct 2019 20:07:18 +0530 Subject: [PATCH] fix(tooltip): tooltipChange unsubscribe on destroy (#5431) --- src/tooltip/tooltip.directive.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tooltip/tooltip.directive.ts b/src/tooltip/tooltip.directive.ts index 3be44993dd..57610570c3 100644 --- a/src/tooltip/tooltip.directive.ts +++ b/src/tooltip/tooltip.directive.ts @@ -345,5 +345,6 @@ export class TooltipDirective implements OnInit, OnDestroy { ngOnDestroy(): void { this._tooltip.dispose(); + this.tooltipChange.unsubscribe(); } }