- Since the scripting branch relies heavily on the garbage collector to clean up everything,
move the final GC back to after the type system has been shut down. SVN r3760 (scripting)
This commit is contained in:
parent
615f49572b
commit
136a2cd05a
3 changed files with 19 additions and 18 deletions
|
|
@ -257,7 +257,7 @@ DObject::DObject (PClass *inClass)
|
|||
|
||||
DObject::~DObject ()
|
||||
{
|
||||
if (!(ObjectFlags & OF_Cleanup))
|
||||
if (!(ObjectFlags & OF_Cleanup) && !PClass::bShutdown)
|
||||
{
|
||||
DObject **probe;
|
||||
PClass *type = GetClass();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue