summaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index dee0a32..628a71e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -267,6 +267,7 @@ async fn main() -> Result<()> {
}
info!("HTTP API server stopped");
+ swarm::peer::farewell(&stopping).await;
swarm::state_file::update(&stopping, true).await;
document::file::flush(&stopping).await;
Ok(())