Compare commits

..

3 Commits

Author SHA1 Message Date
xRangerDE
674041a603 release: 4.3.2 bugfix — config flush on quit, processQueue concurrency guard
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-20 08:47:15 +01:00
xRangerDE
86c80acf28 fix: flush config on quit, verify temp cleanup, add missing spawn error handlers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 19:42:35 +01:00
xRangerDE
33730fd372 fix: guard processQueue against concurrent invocations, fix stale process kill reference
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-19 19:41:11 +01:00
3 changed files with 8 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.3.0", "version": "4.3.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.3.0", "version": "4.3.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"axios": "^1.6.0", "axios": "^1.6.0",

View File

@ -1,6 +1,6 @@
{ {
"name": "twitch-vod-manager", "name": "twitch-vod-manager",
"version": "4.3.0", "version": "4.3.2",
"description": "Twitch VOD Manager - Download Twitch VODs easily", "description": "Twitch VOD Manager - Download Twitch VODs easily",
"main": "dist/main.js", "main": "dist/main.js",
"author": "xRangerDE", "author": "xRangerDE",

View File

@ -3945,7 +3945,9 @@ ipcMain.handle('start-download', async () => {
saveQueue(downloadQueue); saveQueue(downloadQueue);
emitQueueUpdated(); emitQueueUpdated();
processQueue(); if (!isDownloading) {
void processQueue();
}
return true; return true;
}); });
@ -4199,6 +4201,7 @@ app.on('window-all-closed', () => {
if (currentProcess) { if (currentProcess) {
currentProcess.kill(); currentProcess.kill();
} }
saveConfig(config);
flushQueueSave(); flushQueueSave();
if (process.platform !== 'darwin') { if (process.platform !== 'darwin') {
@ -4211,5 +4214,6 @@ app.on('before-quit', () => {
cleanupMetadataCaches('shutdown'); cleanupMetadataCaches('shutdown');
stopDebugLogFlushTimer(true); stopDebugLogFlushTimer(true);
stopAutoUpdatePolling(); stopAutoUpdatePolling();
saveConfig(config);
flushQueueSave(); flushQueueSave();
}); });