We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74755c8 commit e9af1f2Copy full SHA for e9af1f2
uniffi_core/src/ffi/callbackinterface.rs
@@ -182,6 +182,7 @@ impl ForeignCallbackInternals {
182
&mut ret_rbuf,
183
)
184
};
185
+ RustBuffer::destroy(args);
186
let result = CallbackResult::try_from(raw_result)
187
.unwrap_or_else(|code| panic!("Callback failed with unexpected return code: {code}"));
188
match result {
0 commit comments