Unsubscribe in client after timeout
This commit is contained in:
		
							parent
							
								
									29923cf930
								
							
						
					
					
						commit
						b3f550ee68
					
				@ -47,6 +47,7 @@ async fn handle_command(
 | 
				
			|||||||
                    println!("{v}");
 | 
					                    println!("{v}");
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            stream.unsubscribe().await?;
 | 
				
			||||||
            Ok(Value::Null)
 | 
					            Ok(Value::Null)
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
        cli::CliCommands::AddDevice { uri } => client.add_device(cli.account, uri).await,
 | 
					        cli::CliCommands::AddDevice { uri } => client.add_device(cli.account, uri).await,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user