fix: 🚑 GUI isn't able to pass stopped state if audio paused while playing

This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-07-21 15:29:34 +03:00
parent ddf4489c09
commit a9d31aafe7

View file

@ -216,6 +216,7 @@ pub async fn stop_playing(
} }
} }
drop(base_to_playing_sender); drop(base_to_playing_sender);
playing_to_base_receiver = playing_to_base_receiver.resubscribe();
let answer = playing_to_base_receiver.recv().await; let answer = playing_to_base_receiver.recv().await;
drop(playing_to_base_receiver); drop(playing_to_base_receiver);
match answer { match answer {