Skip to content

Commit

Permalink
Fix missing removeEventListener in ResizePlugin (#7271)
Browse files Browse the repository at this point in the history
  • Loading branch information
epaezrubio authored and bigtimebuddy committed Mar 4, 2021
1 parent 40b8c8d commit 7a98538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app/src/ResizePlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export class ResizePlugin
*/
static destroy(): void
{
self.removeEventListener('resize', this.queueResize);
this.cancelResize();
this.cancelResize = null;
this.queueResize = null;
Expand Down

0 comments on commit 7a98538

Please sign in to comment.