mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00: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
|
||||
}
|
||||
|
||||
pub fn weak(&self) -> SessionWeak {
|
||||
fn weak(&self) -> SessionWeak {
|
||||
SessionWeak(Arc::downgrade(&self.0))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue