Skip to content

Commit

Permalink
Merge branch 'dev/1.0.0' into entity_id2
Browse files Browse the repository at this point in the history
  • Loading branch information
milyin committed Jun 11, 2024
2 parents fd90315 + bca5c4d commit 41b1abf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zenoh/src/api/publisher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,8 @@ impl<'a> Publisher<'a> {
}

fn undeclare_matching_listeners(&self) -> ZResult<()> {
for id in zlock!(self.matching_listeners).drain() {
let ids: Vec<Id> = zlock!(self.matching_listeners).drain().collect();
for id in ids {
self.session.undeclare_matches_listener_inner(id)?
}
Ok(())
Expand Down

0 comments on commit 41b1abf

Please sign in to comment.