mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-11-28 04:46:07 -08:00
fix(subsync): clean up temp dirs left by embedded and remote track syncs
Syncing an embedded or remote target kept its whole mkdtemp dir (original extraction plus retimed copy) for the life of the machine. The original is now removed right away; the dir holding the retimed file mpv loaded is retained only while mpv lists it, pruned at the next run, removed on exit, and dirs a crashed session left more than a day ago are swept once per process.
This commit is contained in:
7 files changed
+150
-32
No files matched your search
@@ -34,7 +34,11 @@ export const testLanes: Record<string, TestLane> = {
|
||||
subtitle: {
|
||||
roots: ['src/subsync'],
|
||||
include: ['.test.ts'],
|
||||
extraFiles: ['src/core/services/subsync.test.ts', 'src/renderer/modals/subsync.test.ts'],
|
||||
extraFiles: [
|
||||
'src/core/services/subsync.test.ts',
|
||||
'src/core/services/subsync-files.test.ts',
|
||||
'src/renderer/modals/subsync.test.ts',
|
||||
],
|
||||
},
|
||||
scripts: {
|
||||
roots: ['scripts'],
|
||||
|
||||
Reference in new issue
Block a user