Stream: git-wasmtime

Topic: wasmtime / issue #12091 Adding a "close" method to `{Futu...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 26 2025 at 03:23):

alexcrichton opened issue #12091:

@dicej in the fuzzer I'm writing I'm finding that it's difficult to know when a producer/consumer is dropped by the guest in the host. Currently this is only detect-able via Drop for MyThing which works well enough, but I was wondering if it would be viable to add a fn close(...) method on the traits? The trait method would take a StoreContextMut<D> which would enable updating store state on close which would be convenient. Is this easy enough to slot in to the implementation?

view this post on Zulip Wasmtime GitHub notifications bot (Nov 26 2025 at 03:23):

alexcrichton added the wasm-proposal:component-model-async label to Issue #12091.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 26 2025 at 14:24):

dicej commented on issue #12091:

Yeah, that makes sense. I'll give it a shot today.


Last updated: Dec 06 2025 at 06:05 UTC