From 06bf48751287f6a074e70b13e079fc9b898e1f39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Thu, 24 Jul 2025 15:40:12 +0200 Subject: [PATCH] chore: Attempt to get rid of a crash on CI where the runtime isn't used for a drop --- benchmarks/benches/crypto_bench.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/benchmarks/benches/crypto_bench.rs b/benchmarks/benches/crypto_bench.rs index 981ad9af3..b947f665c 100644 --- a/benchmarks/benches/crypto_bench.rs +++ b/benchmarks/benches/crypto_bench.rs @@ -137,8 +137,10 @@ pub fn keys_claiming(c: &mut Criterion) { move |(machine, runtime, txn_id)| { runtime.block_on(async { machine.mark_request_as_sent(txn_id, response).await.unwrap(); - drop(machine) - }) + }); + + let _ = runtime.enter(); + drop(machine); }, BatchSize::SmallInput, )