Sfoglia il codice sorgente

core API: Session.weak()

awiouy 7 anni fa
parent
commit
ae85e69aca
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      core/src/session.rs

+ 1 - 1
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))
     }