diff --git a/Source/Console/ConsoleStd/ConsoleStd.cpp b/Source/Console/ConsoleStd/ConsoleStd.cpp index 9b7f167b..7c768758 100755 --- a/Source/Console/ConsoleStd/ConsoleStd.cpp +++ b/Source/Console/ConsoleStd/ConsoleStd.cpp @@ -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