From e19f6fe8eae1f5a58636f76f0b72353cdf57668f Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 20 Apr 2017 16:20:51 +0300 Subject: [PATCH] Final touch in fixing restart CCMD https://mantis.zdoom.org/view.php?id=595 --- src/d_main.cpp | 2 ++ 1 file changed, 2 insertions(+) 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