fix: close screenshot probe window cleanly

This commit is contained in:
GeekMr committed 2026-09-24 22:00:41 +08:00
1 parent 6dbbfe1737
commit 362bf9cae6
1 file changed
+1
@@ -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();