Skip to content

Commit

Permalink
Fix valgrind-check build
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierHecart committed Apr 18, 2024
1 parent a12d2c8 commit 43d280f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/valgrind-check/src/queryable_get/bin/z_queryable_get.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ async fn main() {
.declare_queryable(&queryable_key_expr.clone())
.callback(move |query| {
println!(">> Handling query '{}'", query.selector());
let queryable_key_expr = queryable_key_expr.clone();
zenoh_runtime::ZRuntime::Application.block_in_place(async move {
query
.reply(
queryable_key_expr.clone(),
queryable_key_expr,
query.value().unwrap().payload().clone(),
)
.res()
Expand Down

0 comments on commit 43d280f

Please sign in to comment.