mirror of
https://github.com/modrinth/code.git
synced 2026-08-25 17:14:50 +00:00
fix(app): clean up online/offline listeners on Browse.vue unmount Browse.vue registers window 'online'/'offline' listeners but never removes them. Since only LibraryPage is kept alive by the router, Browse unmounts every time the user navigates away (e.g. into a project) and remounts on return, leaking a new pair of closures (and pinning the whole component scope) on window each time. Over a browsing session this accumulates continuously.