forked from lthn/blockchain
win32: CloseHandle removed from console handler stop() to avoid exception on exit in dbg
This commit is contained in:
parent
2e73594378
commit
be44020b1c
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue