From 937144ad390ec51ebcb02baf327f4639b160b62a Mon Sep 17 00:00:00 2001 From: OlivierHecart Date: Fri, 13 Sep 2024 10:50:31 +0200 Subject: [PATCH] Fix merge --- zenoh/src/api/session.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zenoh/src/api/session.rs b/zenoh/src/api/session.rs index 5200b35f4f..21fe8cc82a 100644 --- a/zenoh/src/api/session.rs +++ b/zenoh/src/api/session.rs @@ -1611,7 +1611,7 @@ impl SessionInner { self.task_controller .spawn_with_rt(zenoh_runtime::ZRuntime::Net, async move { for token in known_tokens { - callback(Sample { + callback.call(Sample { key_expr: token, payload: ZBytes::empty(), kind: SampleKind::Put, @@ -1624,7 +1624,7 @@ impl SessionInner { source_info: SourceInfo::empty(), #[cfg(feature = "unstable")] attachment: None, - }) + }); } }); }