close injector streams, dont leave them open.

This commit is contained in:
Raymond 2021-09-16 09:03:29 -04:00
parent 68526e3cea
commit e32c08d877

View file

@ -49,6 +49,9 @@ int wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LP
// =========================================================================== // // =========================================================================== //
#ifndef NDEBUG #ifndef NDEBUG
fclose(stdin);
fclose(stdout);
fclose(stderr);
FreeConsole(); FreeConsole();
#endif #endif