mirror of
https://github.com/oSumAtrIX/free-librespot.git
synced 2025-12-19 18:04:20 +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
|
&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
Reference in a new issue