fix: clear analysis data when starting new download

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-09-21 11:13:45 -04:00
parent e05e83f62f
commit 63a89ed433

View File

@@ -103,6 +103,8 @@ export async function beginDownload() {
session.downloadStatus = 'downloading'; session.downloadStatus = 'downloading';
session.downloadProgress = 0; session.downloadProgress = 0;
session.localFilePath = null; session.localFilePath = null;
session.keyframePositions = [];
session.waveformPeaks = [];
try { try {
await startDownload( await startDownload(