FpDebug: Solved AV in StateMachineValid

This commit is contained in:
Joost van der Sluis 2022-05-13 20:27:54 +02:00
parent 90472ec714
commit 239b2be664

View File

@ -5887,6 +5887,9 @@ begin
if FAddressInfo^.StateMachine = nil then Exit;
end;
Result := FAddressInfo <> nil;
if not result then exit;
// we cannot restore a statemachine to its current state
// so we shouldn't modify FAddressInfo^.StateMachine
// so use clones to navigate