- fixed: The restart CCMD needs to clear the global FraggleScript before taking down the class system.

This is a soft root and would never be deleted otherwise.
This commit is contained in:
Christoph Oelckers 2017-01-31 13:22:05 +01:00
parent a188a8839a
commit f0a325a904

View file

@ -2707,6 +2707,7 @@ void D_DoomMain (void)
S_Shutdown(); // free all channels and delete playlist
C_ClearAliases(); // CCMDs won't be reinitialized so these need to be deleted here
DestroyCVarsFlagged(CVAR_MOD); // Delete any cvar left by mods
FS_Close(); // destroy the global FraggleScript.
GC::FullGC(); // clean up before taking down the object list.