This commit is contained in:
2026-08-23 11:02:08 +02:00
parent c4170a6df3
commit 8d57310ec6
4 changed files with 37 additions and 4 deletions
+3
View File
@@ -133,6 +133,9 @@ impl App {
// (Note: join! supporte les handles déjà terminés ou annulés)
let _ = tokio::join!(http_handle, udp_handle);
Database::checkpoint_wal(&self.state.db).await?;
Database::close(&self.state.db).await?;
tracing::info!("Closed the runtime application.");
Ok(())