Revert "- be a bit more aggressive with the GC when not running the game loop."
This reverts commit b4d03501af.
This commit is contained in:
parent
31549997b4
commit
e529f2d4d1
4 changed files with 1 additions and 22 deletions
|
|
@ -229,7 +229,6 @@ DObject::DObject ()
|
|||
ObjNext = GC::Root;
|
||||
GCNext = nullptr;
|
||||
GC::Root = this;
|
||||
GC::AllocCount++;
|
||||
}
|
||||
|
||||
DObject::DObject (PClass *inClass)
|
||||
|
|
@ -239,7 +238,6 @@ DObject::DObject (PClass *inClass)
|
|||
ObjNext = GC::Root;
|
||||
GCNext = nullptr;
|
||||
GC::Root = this;
|
||||
GC::AllocCount++;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
@ -277,7 +275,6 @@ DObject::~DObject ()
|
|||
|
||||
void DObject::Release()
|
||||
{
|
||||
if (GC::AllocCount > 0) GC::AllocCount--;
|
||||
DObject **probe;
|
||||
|
||||
// Unlink this object from the GC list.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue