Merge pull request #54 from Tahinli/dev

fix: 🚑 Hyprland crash for streamer program fixed with depen…
This commit is contained in:
Ahmet Kaan GÜMÜŞ 2024-11-09 00:46:02 +03:00 committed by GitHub
commit c58f2c3c0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -19,8 +19,8 @@ unsafe_code = "forbid"
[dependencies]
brotli = "5.0.0"
cpal = "0.15.3"
futures-util = { version = "0.3.30", features = ["futures-sink", "sink"] }
iced = { git = "https://github.com/iced-rs/iced", features = ["tokio"], rev = "dcdf1307006883f50083c186ca7b8656bfa60873"}
futures-util = { version = "0.3.31", features = ["futures-sink", "sink"] }
iced = { git = "https://github.com/iced-rs/iced", features = ["tokio"], rev = "42a2cb6d4f78343f43d6a68a28e5502d9426ed2c"}
ringbuf = "0.3.3"
rubato = "0.15.0"
rustls-pemfile = "2.1.2"

View file

@ -536,7 +536,7 @@ impl Streamer {
iced::Event::Window(windows_event) => Task::perform(
{
if let window::Event::CloseRequested = windows_event {
self.exit();
let _ = self.exit();
}
async move {
let files = gui_utils::list_files(Path::new(AUDIO_PATH)).await;