From be44020b1c7e7a4559c3cc67f47c7f930892da63 Mon Sep 17 00:00:00 2001 From: sowle Date: Tue, 3 Dec 2024 02:31:06 +0100 Subject: [PATCH] win32: CloseHandle removed from console handler stop() to avoid exception on exit in dbg --- contrib/epee/include/console_handler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h index 2d098e32..2bc53f3f 100644 --- a/contrib/epee/include/console_handler.h +++ b/contrib/epee/include/console_handler.h @@ -81,7 +81,7 @@ namespace epee m_run.store(false, std::memory_order_relaxed); #if defined(WIN32) - ::CloseHandle(::GetStdHandle(STD_INPUT_HANDLE)); + // ::CloseHandle(::GetStdHandle(STD_INPUT_HANDLE)); -- commented out by sowle, I belive we don't need to close this handle here #endif m_request_cv.notify_one();