@@ -64,6 +64,13 @@ impl Worker {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
impl Drop for Worker {
|
||||||
|
fn drop(&mut self) {
|
||||||
|
debug!("Worker thread is shutting down, stopping player");
|
||||||
|
self.player.stop();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
impl Worker {
|
impl Worker {
|
||||||
fn get_token(
|
fn get_token(
|
||||||
&self,
|
&self,
|
||||||
|
|||||||
Reference in New Issue
Block a user