1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-06 03:50:06 +02:00

core API: Session.weak()

This commit is contained in:
awiouy 2018-02-10 10:10:26 +01:00
parent 72cef9a10c
commit ae85e69aca

View file

@ -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))
} }