From ed90684a9c033784a89e62d31c67e6f4e9502044 Mon Sep 17 00:00:00 2001 From: Joseph Perez Date: Wed, 9 Oct 2024 15:44:11 +0200 Subject: [PATCH] chore: bump zenoh version (#288) --- zenoh-plugin-ros2dds/src/route_publisher.rs | 1 - zenoh-plugin-ros2dds/src/route_service_srv.rs | 1 - zenoh-plugin-ros2dds/src/route_subscriber.rs | 2 -- 3 files changed, 4 deletions(-) diff --git a/zenoh-plugin-ros2dds/src/route_publisher.rs b/zenoh-plugin-ros2dds/src/route_publisher.rs index c2d9818..1d87d8f 100644 --- a/zenoh-plugin-ros2dds/src/route_publisher.rs +++ b/zenoh-plugin-ros2dds/src/route_publisher.rs @@ -274,7 +274,6 @@ impl RoutePublisher { } } }) - .undeclare_on_drop(true) .await .map_err(|e| format!("Failed to listen of matching status changes: {e}",))? }; diff --git a/zenoh-plugin-ros2dds/src/route_service_srv.rs b/zenoh-plugin-ros2dds/src/route_service_srv.rs index 4700693..597e053 100644 --- a/zenoh-plugin-ros2dds/src/route_service_srv.rs +++ b/zenoh-plugin-ros2dds/src/route_service_srv.rs @@ -255,7 +255,6 @@ impl RouteServiceSrv { req_writer, ) }) - .undeclare_on_drop(true) .await .map_err(|e| { format!( diff --git a/zenoh-plugin-ros2dds/src/route_subscriber.rs b/zenoh-plugin-ros2dds/src/route_subscriber.rs index 6e0c5d3..92492ad 100644 --- a/zenoh-plugin-ros2dds/src/route_subscriber.rs +++ b/zenoh-plugin-ros2dds/src/route_subscriber.rs @@ -192,7 +192,6 @@ impl RouteSubscriber { .zsession .declare_subscriber(&self.zenoh_key_expr) .callback(subscriber_callback) - .undeclare_on_drop(true) .allowed_origin(Locality::Remote) // Allow only remote publications to avoid loops .querying() .query_timeout(self.queries_timeout) @@ -207,7 +206,6 @@ impl RouteSubscriber { .zsession .declare_subscriber(&self.zenoh_key_expr) .callback(subscriber_callback) - .undeclare_on_drop(true) .allowed_origin(Locality::Remote) // Allow only remote publications to avoid loops .await .map_err(|e| format!("{self}: failed to create Subscriber: {e}"))?;