- Fixed: DACSThinker::ActiveThinker was missing a read barrier.

- Loading a save game now initiates a collection.
- Added a finalization cost to the sweep stage.


SVN r801 (trunk)
This commit is contained in:
Randy Heit 2008-03-13 03:14:33 +00:00
commit 6715b84d0d
7 changed files with 26 additions and 7 deletions

View file

@ -1823,6 +1823,11 @@ void G_DoLoadGame ()
delete png;
fclose (stdfile);
// At this point, the GC threshold is likely a lot higher than the
// amount of memory in use, so bring it down now by starting a
// collection.
GC::StartCollection();
}