Call R_PrintTextureDuplicates on I_Quit too

Fixes crash from thread terminating if the program exits
before the title screen.
This commit is contained in:
James R 2023-03-16 23:23:16 -07:00
parent 6d43670673
commit 666837c620

View file

@ -1457,6 +1457,11 @@ void I_Quit(void)
if (metalrecording)
G_StopMetalRecording(false);
#ifdef DEVELOP
// Join up with thread if waiting
R_PrintTextureDuplicates();
#endif
D_QuitNetGame();
CL_AbortDownloadResume();
M_FreePlayerSetupColors();