Introduce a new WindowContext::remove_window API
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
f12746c4b7
commit
8c7f821d14
@@ -700,8 +700,7 @@ impl Workspace {
|
||||
}
|
||||
|
||||
project::Event::Closed => {
|
||||
let window_id = cx.window_id();
|
||||
cx.remove_window(window_id);
|
||||
cx.remove_window();
|
||||
}
|
||||
|
||||
_ => {}
|
||||
|
||||
Reference in New Issue
Block a user