File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
VSharp.ML.GameServer.Runner Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -348,13 +348,14 @@ let collectStatesInfoToDump (basicBlocks: ResizeArray<BasicBlock>) =
348348
349349 statesInfoToDump
350350
351- let getFirstFreePathConditionVertexId =
351+ let getFirstFreePathConditionVertexId , resetPathConditionVertexIdCounter =
352352 let mutable count = 0 u< pathConditionVertexId>
353353
354354 fun () ->
355355 let res = count
356356 count <- count + 1 u< pathConditionVertexId>
357357 res
358+ , fun () -> count <- 0 u< pathConditionVertexId>
358359
359360let pathConditionVertices = Dictionary< Core.term, PathConditionVertex>()
360361
Original file line number Diff line number Diff line change @@ -208,6 +208,7 @@ let ws port outputDirectory (webSocket: WebSocket) (context: HttpContext) =
208208 API.Reset()
209209 HashMap.hashMap.Clear()
210210 Serializer.pathConditionVertices.Clear()
211+ Serializer.resetPathConditionVertexIdCounter ()
211212
212213 do !
213214 sendResponse (
You can’t perform that action at this time.
0 commit comments