OpenCut/apps/web/src
Abelino Chavez 5854906a87 fix: dispose Input objects to prevent memory leaks (#656)
Multiple functions were creating mediabunny Input objects without
disposing them, causing WebCodecs decoder resources to leak. This led
to RAM consumption spiraling until crash when importing video clips.

Fixed by adding try/finally blocks to ensure input.dispose() is called:
- getVideoInfo(): leaked Input when getting video metadata
- generateThumbnail(): leaked Input when generating thumbnails
- decodeAndMixAudioSource(): leaked Input when mixing audio

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-23 17:52:33 -06:00
..
app feat: add dedicated About page (#624) 2026-02-23 17:52:33 -06:00
components fix: make track visibility toggle button clickable (#658) 2026-02-23 17:52:33 -06:00
constants feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
core feat: save frame as image 2026-02-23 06:44:27 +01:00
data/colors codebase overhaul (#697) 2026-01-31 00:20:04 +01:00
hooks feat: add Ctrl+X cut shortcut for timeline elements (#672) 2026-02-23 17:52:33 -06:00
lib fix: dispose Input objects to prevent memory leaks (#656) 2026-02-23 17:52:33 -06:00
services fix: properly dispose WebCodecs resources in video cache (#663) 2026-02-23 17:52:33 -06:00
stores persist snapping + ripple 2026-02-23 06:56:05 +01:00
types feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
utils feat: save frame as image 2026-02-23 06:44:27 +01:00
proxy.ts feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00