mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Merge pull request #574 from daemitus/boot
This commit is contained in:
commit
2ba6a4407e
2 changed files with 6 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
|
|||
// =========================================================================== //
|
||||
|
||||
#ifndef NDEBUG
|
||||
fclose(stdin);
|
||||
fclose(stdout);
|
||||
fclose(stderr);
|
||||
FreeConsole();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -49,6 +49,9 @@ int wWinMain(_In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ LP
|
|||
// =========================================================================== //
|
||||
|
||||
#ifndef NDEBUG
|
||||
fclose(stdin);
|
||||
fclose(stdout);
|
||||
fclose(stderr);
|
||||
FreeConsole();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue