Reset s_NextTangleId to zero when constructing ControlFlow

This commit is contained in:
Jake Turner
2025-04-14 16:32:17 +01:00
parent 13588f3962
commit 187f7bd523
+1
View File
@@ -607,6 +607,7 @@ void ControlFlow::UpdateState(const ThreadExecutionStates &threadExecutionStates
void ControlFlow::Construct(const rdcarray<ThreadIndex> &threadIds)
{
s_NextTangleId = 0;
const rdcarray<ExecutionPoint> sentinelPoints = {INVALID_EXECUTION_POINT};
Tangle rootTangle;
rootTangle.SetId(GetNewTangleId());