From f0a325a904fc8bb2c6ae26cf16cbd52778d75e7a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 31 Jan 2017 13:22:05 +0100 Subject: [PATCH] - 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. --- src/d_main.cpp | 1 + 1 file changed, 1 insertion(+) 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.