refactor(backend): give background operations single task owners

This commit is contained in:
Tunglies
2026-11-28 20:53:02 +08:00
parent 50ddb84f19
commit 5cc9531a15
17 changed files with 1045 additions and 559 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ use crate::{
service::{SERVICE_MANAGER, ServiceManager},
tray::Tray,
},
core::{auto_backup::AutoBackupManager, lightweight::auto_lightweight_boot},
core::{auto_backup, lightweight::auto_lightweight_boot},
feat,
process::AsyncHandler,
utils::{init, server, window_manager::WindowManager},
@@ -150,7 +150,7 @@ async fn init_auto_lightweight_boot() {
}
async fn init_auto_backup() {
logging_error!(Type::Setup, AutoBackupManager::global().init().await);
auto_backup::init().await;
}
fn init_silent_updater() {