diff --git a/core/src/session.rs b/core/src/session.rs index 37a4aba0..4eecbe95 100644 --- a/core/src/session.rs +++ b/core/src/session.rs @@ -200,7 +200,7 @@ impl Session { &self.config().device_id } - pub fn weak(&self) -> SessionWeak { + fn weak(&self) -> SessionWeak { SessionWeak(Arc::downgrade(&self.0)) }