Skip to content

Commit

Permalink
Fixed #11357 - Event listener leak in ReorderableRow and ReorderableC…
Browse files Browse the repository at this point in the history
…olumn
  • Loading branch information
yigitfindikli committed Mar 30, 2022
1 parent 828f63a commit d2ad2a2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4220,6 +4220,10 @@ export class ReorderableRow implements AfterViewInit {

event.preventDefault()
}

ngOnDestroy() {
this.unbindEvents();
}
}

@Component({
Expand Down

0 comments on commit d2ad2a2

Please sign in to comment.