Ensure that document functions exist before calling in ngOnDestroy() #2327
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Issue #1672 fixed a number of problems, but several components seem to have been left out of that set of fixes. These listener calls also need checks to ensure that the listeners exist before they are called during destroy:
primeng/components/confirmdialog/confirmdialog.ts
Line 223 in f512363
primeng/components/confirmdialog/confirmdialog.ts
Line 227 in f512363
primeng/components/carousel/carousel.ts
Line 308 in b16e346
primeng/components/contextmenu/contextmenu.ts
Line 241 in 2ce2f97
primeng/components/contextmenu/contextmenu.ts
Line 243 in 2ce2f97
The text was updated successfully, but these errors were encountered: