Final touch in fixing restart CCMD

https://mantis.zdoom.org/view.php?id=595
This commit is contained in:
alexey.lysiuk 2017-04-20 16:20:51 +03:00
parent 403634c0e1
commit e19f6fe8ea

View file

@ -2749,6 +2749,8 @@ void D_DoomMain (void)
*(afunc->VMPointer) = NULL;
}
GC::DelSoftRootHead();
PClass::StaticShutdown();
GC::FullGC(); // perform one final garbage collection after shutdown