🐛 Repair cache invariant after stores
StoreID left the last-entry pointer on the final node, so two consecutive stores without an intervening query nil-dereferenced.
This commit is contained in:
@@ -298,6 +298,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
FFirst^.ID := AID;
|
FFirst^.ID := AID;
|
||||||
FFirst^.Obj := AObj;
|
FFirst^.Obj := AObj;
|
||||||
|
UpdateLast;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|||||||
Reference in New Issue
Block a user