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:
parent
d2161ff75f
commit
9873eaf2a0
5 changed files with 14 additions and 3 deletions
|
@ -62,6 +62,7 @@ fn list_backends() {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone)]
|
||||
struct Setup {
|
||||
backend: &'static (Fn(Option<String>) -> Box<Sink> + Send + Sync),
|
||||
cache: Option<Cache>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue