mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Fixed uninitialized type deletion crash in debug mode
This commit is contained in:
parent
d9b047a924
commit
e892840a94
1 changed files with 2 additions and 1 deletions
|
@ -397,7 +397,8 @@ static int gDelIdx = 0;
|
||||||
|
|
||||||
BfType::~BfType()
|
BfType::~BfType()
|
||||||
{
|
{
|
||||||
BfLogSys(mContext->mSystem, "~BfType %p\n", this);
|
if (mContext != NULL)
|
||||||
|
BfLogSys(mContext->mSystem, "~BfType %p\n", this);
|
||||||
|
|
||||||
/*gDelIdx++;
|
/*gDelIdx++;
|
||||||
auto typeInst = ToTypeInstance();
|
auto typeInst = ToTypeInstance();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue