fix: close screenshot probe window cleanly
This commit is contained in:
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);
|
*result.lock().unwrap() = Some(opened);
|
||||||
|
|
||||||
drop(pane);
|
drop(pane);
|
||||||
|
let _ = cx.update_window(handle.into(), |_, window, _| window.remove_window());
|
||||||
cx.update(|cx| cx.quit());
|
cx.update(|cx| cx.quit());
|
||||||
})
|
})
|
||||||
.detach();
|
.detach();
|
||||||
|
|||||||
Reference in new issue
Block a user