OpenCut/apps/web
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
..
migrations feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
public feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
scripts feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
src fix: dispose Input objects to prevent memory leaks (#656) 2026-02-23 17:52:33 -06:00
.env.example docker + update readme 2026-02-23 09:38:38 +01:00
.gitignore feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
Dockerfile docker + update readme 2026-02-23 09:38:38 +01:00
components.json feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
drizzle.config.ts feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
next-env.d.ts next-env.d.ts 2026-02-01 11:31:37 +01:00
next.config.ts feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
package.json feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
postcss.config.mjs feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
tsconfig.json feat: major editor overhaul (assets, properties, timeline, fonts) (#709) 2026-02-23 03:24:02 +01:00
tsconfig.tsbuildinfo codebase overhaul (#697) 2026-01-31 00:20:04 +01:00