mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +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()
|
||||
{
|
||||
BfLogSys(mContext->mSystem, "~BfType %p\n", this);
|
||||
if (mContext != NULL)
|
||||
BfLogSys(mContext->mSystem, "~BfType %p\n", this);
|
||||
|
||||
/*gDelIdx++;
|
||||
auto typeInst = ToTypeInstance();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue