mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-04 02:09:26 +02:00
Move session to tokio over fully
This commit is contained in:
parent
bf6be73caa
commit
d62a154786
6 changed files with 45 additions and 121 deletions
|
@ -172,7 +172,6 @@ fn main() {
|
|||
});
|
||||
|
||||
thread::spawn(move || spirc.run());
|
||||
thread::spawn(move || loop { session.poll() });
|
||||
|
||||
task
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue