Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

extension_host: Fix operation status whilst installing dev extension (#37985)

Finn Everseec6bfebbbc6
diff --git a/crates/extension_host/src/extension_host.rs b/crates/extension_host/src/extension_host.rs
index b114ad9f4c5..0b7dd008707 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