Browse Source

doc: add missing lines in prev commit

x 3 years ago
parent
commit
1575d21f6c
1 changed files with 3 additions and 0 deletions
  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<()> {
     pub async fn start(self: Arc<Self>) -> Result<()> {
         // ...
         // ...
+        self.session_outbound().await.start().await;
         Ok(())
         Ok(())
     }
     }
 
 
     pub async fn stop(&self) {
     pub async fn stop(&self) {
+        self.session_outbound().await.stop().await;
+        // ...
     }
     }
 }
 }
 ```
 ```