mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
close streams before freeconsole, dialog doesnt hang
This commit is contained in:
parent
6bd95f0e06
commit
68526e3cea
1 changed files with 3 additions and 0 deletions
|
|
@ -47,6 +47,9 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
|
|||
// =========================================================================== //
|
||||
|
||||
#ifndef NDEBUG
|
||||
fclose(stdin);
|
||||
fclose(stdout);
|
||||
fclose(stderr);
|
||||
FreeConsole();
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue