fix(updater): clean runtime resources before restart

This commit is contained in:
t8y2 committed 2026-07-30 02:14:23 +08:00
1 parent f5daba54b6
commit 3009b9ac54
7 files changed
+149 -20

No files matched your search

+1 -1
View File
@@ -800,7 +800,7 @@ async fn main() {
})
.await
.expect("Server error");
shutdown_state.shutdown_background_tasks(std::time::Duration::from_secs(3)).await;
shutdown_state.shutdown(std::time::Duration::from_secs(3)).await;
}
#[cfg(test)]