Initial Checklist
Bug Description
The following event listeners don't get cleaned up an could cause a potential memory leak:
wheel in packages/web-app-preview/src/components/Sources/MediaImage.vue
change in packages/web-pkg/src/services/uppy/uppyService.ts
Reproduction Steps
- add dev logs to track the registering and unregistering of those listeners
- open the preview app and close it
- open the "New"-menu and close it
Expected Outcome
The registered event listeners should be unregistered.
Actual Outcome
They stay registered.
Initial Checklist
Bug Description
The following event listeners don't get cleaned up an could cause a potential memory leak:
wheelinpackages/web-app-preview/src/components/Sources/MediaImage.vuechangeinpackages/web-pkg/src/services/uppy/uppyService.tsReproduction Steps
Expected Outcome
The registered event listeners should be unregistered.
Actual Outcome
They stay registered.