Explorar el Código

doc: add missing lines in prev commit

x hace 3 años
padre
commit
1575d21f6c
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      doc/src/architecture/services.md

+ 3 - 0
doc/src/architecture/services.md

@@ -56,10 +56,13 @@ impl P2p {
 
     pub async fn start(self: Arc<Self>) -> Result<()> {
         // ...
+        self.session_outbound().await.start().await;
         Ok(())
     }
 
     pub async fn stop(&self) {
+        self.session_outbound().await.stop().await;
+        // ...
     }
 }
 ```