mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-30 15:52:09 +00:00
- Call C_DeinitConsole in I_Quit so that we can be sure that Printf will work for as long as possible. Otherwise ZDoom will crash when ending a demo recording.
This commit is contained in:
parent
bd5bf2a40a
commit
b6bbdf6195
3 changed files with 4 additions and 2 deletions
|
@ -1987,8 +1987,6 @@ static void D_DoomInit()
|
|||
Args->CollectFiles("-playdemo", ".lmp");
|
||||
Args->CollectFiles("-file", NULL); // anything left goes after -file
|
||||
|
||||
atterm (C_DeinitConsole);
|
||||
|
||||
gamestate = GS_STARTUP;
|
||||
|
||||
SetLanguageIDs ();
|
||||
|
|
|
@ -353,6 +353,8 @@ void I_Quit (void)
|
|||
|
||||
if (demorecording)
|
||||
G_CheckDemoStatus();
|
||||
|
||||
C_DeinitConsole();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -781,6 +781,8 @@ void I_Quit()
|
|||
{
|
||||
G_CheckDemoStatus();
|
||||
}
|
||||
|
||||
C_DeinitConsole();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue