mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Added ability to continue from detected leak
This commit is contained in:
parent
b18385e427
commit
83f6272f9a
1 changed files with 6 additions and 0 deletions
|
@ -1189,6 +1189,12 @@ void BFGC::ProcessSweepInfo()
|
|||
gBfRtDbgCallbacks.SetErrorString(gDbgErrorString.c_str());
|
||||
gBfRtDbgCallbacks.DebugMessageData_SetupError(errorStr.c_str(), 1);
|
||||
BF_DEBUG_BREAK();
|
||||
|
||||
for (auto obj : mSweepInfo.mLeakObjects)
|
||||
{
|
||||
// Allow continuing
|
||||
obj->mObjectFlags = (BfObjectFlags)((obj->mObjectFlags & ~BF_OBJECTFLAG_MARK_ID_MASK) | mCurMarkId);
|
||||
}
|
||||
}
|
||||
|
||||
mSweepInfo.Clear();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue