X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/29923cf930dda65e32375c0bc1b195a3ae24f748..b3f550ee68d0e9119bc3f7a22659d1cdbaa1ded8:/client/src/main.rs diff --git a/client/src/main.rs b/client/src/main.rs index f4ab67f9..c840fd5e 100644 --- a/client/src/main.rs +++ b/client/src/main.rs @@ -47,6 +47,7 @@ async fn handle_command( println!("{v}"); } } + stream.unsubscribe().await?; Ok(Value::Null) } cli::CliCommands::AddDevice { uri } => client.add_device(cli.account, uri).await,