Browse Source

Avoid potential recursive call

tags/v0.0.0-test.4
Philipp Oppermann 3 years ago
parent
commit
eaf611f755
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      api/node/src/communication.rs

+ 1
- 1
api/node/src/communication.rs View File

@@ -23,7 +23,7 @@ impl CommunicationLayer for zenoh::Session {
&'a self,
topic: &str,
) -> Result<Pin<Box<dyn futures::Stream<Item = Vec<u8>> + 'a>>, BoxError> {
self.subscribe(topic)
zenoh::Session::subscribe(self, topic)
.await
.map(|s| {
let trait_object: Pin<Box<dyn futures::Stream<Item = Vec<u8>> + 'a>> =


Loading…
Cancel
Save