diff --git a/src/d_main.cpp b/src/d_main.cpp index 6041af9b4..aa90d6c46 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -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.