From 58207325e2322bded0052e89c5ccd3f7321f0936 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Thu, 4 Dec 2025 16:12:21 -0500 Subject: [PATCH] restore impl Drop for WasmExtension --- crates/extension_host/src/wasm_host.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/extension_host/src/wasm_host.rs b/crates/extension_host/src/wasm_host.rs index 93b8a1de9b723e27a69720051ab4443277b38fcb..cd0b99cc02499bbce73cf46e1822b9cebecd2aa3 100644 --- a/crates/extension_host/src/wasm_host.rs +++ b/crates/extension_host/src/wasm_host.rs @@ -73,6 +73,12 @@ pub struct WasmExtension { _task: Arc>>, } +impl Drop for WasmExtension { + fn drop(&mut self) { + self.tx.close_channel(); + } +} + #[async_trait] impl extension::Extension for WasmExtension { fn manifest(&self) -> Arc {