mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Fixed crash when using a failed closure
This commit is contained in:
parent
c92bc523db
commit
bb34a468bb
4 changed files with 9 additions and 5 deletions
|
@ -1760,6 +1760,7 @@ void BfTypeInstance::CalcHotVirtualData(Array<int>* ifaceMapping)
|
|||
BfClosureType::BfClosureType(BfTypeInstance* srcDelegate, Val128 closureHash) :
|
||||
mSource(srcDelegate->mTypeDef->mSystem)
|
||||
{
|
||||
BF_ASSERT(srcDelegate->IsDelegate());
|
||||
mSrcDelegate = srcDelegate;
|
||||
mTypeDef = mSrcDelegate->mTypeDef;
|
||||
mCreatedTypeDef = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue