1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 02:39:53 +02:00

Better handling of shutdown

This commit is contained in:
Paul Lietar 2017-01-31 08:21:30 +00:00
parent d2161ff75f
commit 9873eaf2a0
5 changed files with 14 additions and 3 deletions

View file

@ -62,6 +62,7 @@ fn list_backends() {
}
}
#[derive(Clone)]
struct Setup {
backend: &'static (Fn(Option<String>) -> Box<Sink> + Send + Sync),
cache: Option<Cache>,