[Lldb-commits] [lldb] [lldb][Windows] use pipes when no terminal dimensions are sent (PR #203562)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jun 16 09:15:58 PDT 2026
================
@@ -188,6 +188,8 @@ void PseudoConsole::Close() {
std::unique_lock<std::mutex> guard(m_mutex);
if (m_conpty_handle != INVALID_HANDLE_VALUE)
kernel32.ClosePseudoConsole(m_conpty_handle);
+ if (m_mode == Mode::Pipe && m_conpty_output != INVALID_HANDLE_VALUE)
+ CancelIoEx(m_conpty_output, nullptr);
----------------
Nerixyz wrote:
Is this needed _here_? I thought we'd use `CloseAnonymousPipes` and this is a no-op, because we don't use the conpty.
https://github.com/llvm/llvm-project/pull/203562
More information about the lldb-commits
mailing list