[*] Bug fix - NT: ConsoleStd should not close GetStdHandle (win32 - new), only CreateFileW (legacy code)
This commit is contained in:
parent
d5ec986e02
commit
08b9c48f6c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user