From d2ad2a2bfe5367428c1c2a96f9eb7d84ba916ab4 Mon Sep 17 00:00:00 2001 From: yigitfindikli Date: Wed, 30 Mar 2022 10:33:01 +0300 Subject: [PATCH] Fixed #11357 - Event listener leak in ReorderableRow and ReorderableColumn --- src/app/components/table/table.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/components/table/table.ts b/src/app/components/table/table.ts index 1539c05c960..7967d48a91c 100755 --- a/src/app/components/table/table.ts +++ b/src/app/components/table/table.ts @@ -4220,6 +4220,10 @@ export class ReorderableRow implements AfterViewInit { event.preventDefault() } + + ngOnDestroy() { + this.unbindEvents(); + } } @Component({