analyzer: close connection gracefully

core0-buffer
Sebastien Bourdeauducq 2020-07-16 17:10:24 +08:00
parent 10a12245a3
commit 16158acfa9
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ pub fn start() {
.await .await
.map_err(|e| warn!("connection terminated: {:?}", e)); .map_err(|e| warn!("connection terminated: {:?}", e));
let _ = stream.flush().await; let _ = stream.flush().await;
let _ = stream.abort().await; let _ = stream.close().await;
} }
}); });
} }