================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits