fix: resolve scheduler infinite loop and frozen delete modal bugs

This commit is contained in:
NimBold
2026-06-21 14:28:21 +03:30
parent de1318deb6
commit 3660ceb47a
4 changed files with 26 additions and 16 deletions
+1 -2
View File
@@ -383,8 +383,7 @@ export const useDownloadStore = create<DownloadState>((set, get) => ({
try {
await invoke('remove_download', { id, filepath: null });
} catch (e) {
console.error("Failed to terminate download on deletion:", e);
throw e;
console.error("Failed to terminate download on backend during deletion, but will still remove from UI:", e);
}
}