From 362bf9cae6f47f28e81593bd4460aeca51e3e003 Mon Sep 17 00:00:00 2001 From: GeekMr <140129782+WilliamWang1721@users.noreply.github.com> Date: Thu, 24 Sep 2026 22:00:41 +0800 Subject: [PATCH] fix: close screenshot probe window cleanly --- nebula_app/src/gpui_shell/ssh_settings/library/tests.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nebula_app/src/gpui_shell/ssh_settings/library/tests.rs b/nebula_app/src/gpui_shell/ssh_settings/library/tests.rs index 5dc1ab1..e8fc255 100644 --- a/nebula_app/src/gpui_shell/ssh_settings/library/tests.rs +++ b/nebula_app/src/gpui_shell/ssh_settings/library/tests.rs @@ -196,6 +196,7 @@ fn native_ssh_copy_context_menu_preview() { *result.lock().unwrap() = Some(opened); drop(pane); + let _ = cx.update_window(handle.into(), |_, window, _| window.remove_window()); cx.update(|cx| cx.quit()); }) .detach();