mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 18:29:13 +02:00
parent
5aa8392e05
commit
bd49674975
@ -55,6 +55,8 @@ class procedure TXMLRegistryInstance.FreeXMLRegistryCache;
|
|||||||
|
|
||||||
var i: integer;
|
var i: integer;
|
||||||
begin
|
begin
|
||||||
|
if not Assigned(XMLRegistryCache) then
|
||||||
|
exit;
|
||||||
for i := 0 to XMLRegistryCache.Count - 1 do
|
for i := 0 to XMLRegistryCache.Count - 1 do
|
||||||
TXMLRegistryInstance(XMLRegistryCache[i]).Free;
|
TXMLRegistryInstance(XMLRegistryCache[i]).Free;
|
||||||
FreeAndNil(XMLRegistryCache);
|
FreeAndNil(XMLRegistryCache);
|
||||||
|
Loading…
Reference in New Issue
Block a user