From eec6bfebbbc6a8e94c7084824fb1a868be7e42c6 Mon Sep 17 00:00:00 2001 From: Finn Evers Date: Thu, 11 Sep 2025 12:58:24 +0200 Subject: [PATCH] extension_host: Fix operation status whilst installing dev extension (#37985) This fixes a minor issue where we would show "Removing extension ..." in the status bar when we would actually be installing it. Release Notes: - Fixed an issue where installing a dev extension would show the installation status as "removing" in the activity indicator. --- crates/extension_host/src/extension_host.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/extension_host/src/extension_host.rs b/crates/extension_host/src/extension_host.rs index b114ad9f4c526f9c270681c55626455531becc2f..0b7dd008707f4df62c1c036b1377dd04446ff8d2 100644 --- a/crates/extension_host/src/extension_host.rs +++ b/crates/extension_host/src/extension_host.rs @@ -937,7 +937,7 @@ impl ExtensionStore { if !this.update(cx, |this, cx| { match this.outstanding_operations.entry(extension_id.clone()) { btree_map::Entry::Occupied(_) => return false, - btree_map::Entry::Vacant(e) => e.insert(ExtensionOperation::Remove), + btree_map::Entry::Vacant(e) => e.insert(ExtensionOperation::Install), }; cx.notify(); true