[*] Bug fix - NT: ConsoleStd should not close GetStdHandle (win32 - new), only CreateFileW (legacy code)

This commit is contained in:
Reece Wilson 2022-05-04 22:51:47 +01:00
parent d5ec986e02
commit 08b9c48f6c

View File

@ -654,8 +654,10 @@ namespace Aurora::Console::ConsoleStd
AuWin32CloseHandle(gTerminateConsole);
// Note: CloseHandle in the middle of a ReadFile blocks
#if !defined(AURORA_PLATFORM_WIN32)
AuWin32CloseHandle(gInputStream);
AuWin32CloseHandle(gOutputStream);
#endif
#endif