1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Added ability to continue from detected leak

This commit is contained in:
Brian Fiete 2020-08-09 07:14:51 -07:00
parent b18385e427
commit 83f6272f9a

View file

@ -1189,6 +1189,12 @@ void BFGC::ProcessSweepInfo()
gBfRtDbgCallbacks.SetErrorString(gDbgErrorString.c_str()); gBfRtDbgCallbacks.SetErrorString(gDbgErrorString.c_str());
gBfRtDbgCallbacks.DebugMessageData_SetupError(errorStr.c_str(), 1); gBfRtDbgCallbacks.DebugMessageData_SetupError(errorStr.c_str(), 1);
BF_DEBUG_BREAK(); BF_DEBUG_BREAK();
for (auto obj : mSweepInfo.mLeakObjects)
{
// Allow continuing
obj->mObjectFlags = (BfObjectFlags)((obj->mObjectFlags & ~BF_OBJECTFLAG_MARK_ID_MASK) | mCurMarkId);
}
} }
mSweepInfo.Clear(); mSweepInfo.Clear();