diff --git a/src/d_main.cpp b/src/d_main.cpp index 2cd4ca7a7..36d57e280 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -2749,6 +2749,8 @@ void D_DoomMain (void) *(afunc->VMPointer) = NULL; } + GC::DelSoftRootHead(); + PClass::StaticShutdown(); GC::FullGC(); // perform one final garbage collection after shutdown