Skip to content

Commit

Permalink
https://github.com/danieleteti/delphimvcframework/issues/796
Browse files Browse the repository at this point in the history
  • Loading branch information
danieleteti committed Dec 22, 2024
1 parent 1a092f2 commit ff035cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/MVCFramework.Cache.pas
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ procedure TMVCCache.RemoveItem(const AName: string);
begin
if FStorage.TryGetValue(AName, lItem) then
begin
if lItem.Value.IsObjectInstance then
if lItem.Value.IsObject then
begin
lItem.Value.AsObject.Free;
end;
Expand Down

0 comments on commit ff035cd

Please sign in to comment.