Do not remove the item from pane twice (#30254)

Kirill Bulatov created

Probably a merge artifact?

Release Notes:

- N/A

Change summary

crates/workspace/src/pane.rs | 1 -
1 file changed, 1 deletion(-)

Detailed changes

crates/workspace/src/pane.rs 🔗

@@ -1578,7 +1578,6 @@ impl Pane {
                         window,
                         cx,
                     );
-                    pane.remove_item(item_to_close.item_id(), false, true, window, cx);
                 })
                 .ok();
             }