fix: prevent background timer registration after stop (#701)

This commit is contained in:
InfinityPacer
2026-08-23 19:22:50 +08:00
committed by GitHub
parent cec2169c13
commit f2ecc6af73
4 changed files with 716 additions and 3 deletions
+7
View File
@@ -345,6 +345,7 @@ export default defineConfig(({ command, mode, isPreview }) => ({
'src/composables/useMediaSubscribe.ts',
'src/composables/useLlmProviderDirectory.ts',
'src/composables/useDashboardMediaGridCapacity.ts',
'src/composables/useBackground.ts',
'src/composables/useKeepAliveRefresh.ts',
'src/composables/useOfflineStatus.ts',
'src/composables/useScheduleProgress.ts',
@@ -446,6 +447,12 @@ export default defineConfig(({ command, mode, isPreview }) => ({
lines: 90,
statements: 90,
},
'src/composables/useBackground.ts': {
branches: 85,
functions: 90,
lines: 90,
statements: 90,
},
'src/composables/useKeepAliveRefresh.ts': {
branches: 85,
functions: 90,