Dennis1000/verysimplexml

Raise Errory By TXmlVerySimple.Clear

GoogleCodeExporter opened this issue · 3 comments

===resolve it:
destructor TXmlNode.Destroy;
begin
  if assigned(Parent) then
    Parent.ChildNodes.Extract(Self);

{$IFDEF  Windows}
  AttributeList.Free;
  ChildNodes.Free;
{$ELSE}
  AttributeList.DisposeOf;
  ChildNodes.DisposeOf;
{$ENDIF}
  inherited;
end;

Original issue reported on code.google.com by GreenSai...@gmail.com on 23 Feb 2014 at 4:57

Original comment by dennis.spreen on 13 Oct 2014 at 7:23

  • Changed state: Verified
I've added weak references for the nextgen compiler to avoid .DisposeOf
Please take a look at the current beta 19

Original comment by dennis.spreen on 18 Mar 2014 at 11:40

Original comment by dennis.spreen on 13 Oct 2014 at 7:24

  • Changed state: Fixed