refactor(audio): update the connection after it has disconnected or been initialized
This commit is contained in:
parent
4c40374014
commit
eef73793bf
2 changed files with 14 additions and 4 deletions
|
|
@ -48,7 +48,6 @@ async fn start_listening(
|
|||
State::Connecting(from_pulse)
|
||||
}
|
||||
// Waiting for Connection to succeed
|
||||
// The GUI doesn't have to monitor this state, as it is never sent to the GUI
|
||||
State::Connecting(mut from_pulse) => match from_pulse.recv().await {
|
||||
Some(Message::Connected) => {
|
||||
_ = output.send(Event::Connected).await;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue