Implement LOGOUT

Fixes #21
This commit is contained in:
Aram 🍐 2021-08-01 00:13:44 -04:00
parent c56be76906
commit 11f70642dd
6 changed files with 34 additions and 8 deletions

View file

@ -43,5 +43,6 @@ async fn main() -> nut_client::Result<()> {
}
}
Ok(())
// Gracefully shut down the connection using the `LOGOUT` command
conn.close().await
}