mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-06 12:00:10 +02:00
core API: Session.weak()
This commit is contained in:
parent
72cef9a10c
commit
ae85e69aca
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ impl Session {
|
||||||
&self.config().device_id
|
&self.config().device_id
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn weak(&self) -> SessionWeak {
|
fn weak(&self) -> SessionWeak {
|
||||||
SessionWeak(Arc::downgrade(&self.0))
|
SessionWeak(Arc::downgrade(&self.0))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue