mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
moar leak plug attempts
This commit is contained in:
parent
ea39c83afd
commit
ee0cf872a0
6 changed files with 108 additions and 11 deletions
|
|
@ -286,6 +286,12 @@ void AbstractClassRep::shutdown()
|
|||
|
||||
// Release storage allocated to the class table.
|
||||
|
||||
for (auto walk = classLinkList; walk; walk = walk->nextClass)
|
||||
{
|
||||
walk->mFieldList.clear();
|
||||
walk->mFieldList.compact(); // Important: frees the internal buffer
|
||||
}
|
||||
|
||||
for (U32 group = 0; group < NetClassGroupsCount; group++)
|
||||
for(U32 type = 0; type < NetClassTypesCount; type++)
|
||||
if( classTable[ group ][ type ] )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue