mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Allow boxed types to utilize comptime methods
This commit is contained in:
parent
8bc5d09787
commit
2932fceae4
7 changed files with 114 additions and 29 deletions
|
@ -793,11 +793,6 @@ BfTypeDef::~BfTypeDef()
|
|||
{
|
||||
BfLogSysM("BfTypeDef::~BfTypeDef %p\n", this);
|
||||
|
||||
if ((mHash == -1330357811) && (IsEmitted()))
|
||||
{
|
||||
NOP;
|
||||
}
|
||||
|
||||
delete mNextRevision;
|
||||
FreeMembers();
|
||||
|
||||
|
@ -3728,10 +3723,14 @@ void BfSystem::RemoveOldData()
|
|||
{
|
||||
AutoCrit autoCrit(mDataLock);
|
||||
|
||||
for (auto typeDef : mTypeDefDeleteQueue)
|
||||
for (int i = 0; i < (int)mTypeDefDeleteQueue.size(); i++)
|
||||
{
|
||||
auto typeDef = mTypeDefDeleteQueue[i];
|
||||
mTypeDefDeleteQueue[i] = NULL;
|
||||
BfLogSys(this, "RemoveOldData deleting from mTypeDefDeleteQueue %p\n", typeDef);
|
||||
delete typeDef;
|
||||
}
|
||||
mTypeDefDeleteQueue.Clear();
|
||||
|
||||
|
||||
if (!mProjectDeleteQueue.IsEmpty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue