style: clean up whitespace and improve code formatting across multiple files

This commit is contained in:
xmk23333
2025-10-21 17:53:02 +08:00
Unverified
parent 0e933597f5
commit ef3f8e1839
12 changed files with 141 additions and 85 deletions

View File

@@ -68,7 +68,7 @@ impl CoreManager {
pub fn set_running_mode(&self, mode: RunningMode) {
self.state.lock().running_mode = mode;
}
pub async fn init(&self) -> Result<()> {
self.cleanup_orphaned_processes().await?;
self.start_core().await?;
@@ -77,4 +77,3 @@ impl CoreManager {
}
singleton_lazy!(CoreManager, CORE_MANAGER, CoreManager::default);