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
}
pub fn weak(&self) -> SessionWeak {
fn weak(&self) -> SessionWeak {
SessionWeak(Arc::downgrade(&self.0))
}