From 8c854f23f653aa697ea1d172c4751b00bda2b8f6 Mon Sep 17 00:00:00 2001 From: Martin Raszyk Date: Sat, 9 Dec 2023 16:48:02 +0100 Subject: [PATCH] fix: trap with 'Call already trapped' when using futures::stream --- src/ic-cdk/src/api/call.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ic-cdk/src/api/call.rs b/src/ic-cdk/src/api/call.rs index c335e459f..b437b30a2 100644 --- a/src/ic-cdk/src/api/call.rs +++ b/src/ic-cdk/src/api/call.rs @@ -153,6 +153,8 @@ unsafe extern "C" fn callback>(state_ptr: *const RwLock