OpToSoapDomComv.TRefCache.FNodes contains references to non-existing XMLNodes
- by Bascy
In our D2007 application we are using a Webservice, accessed with a THTTPRIO object.
When the TDatamodule containing the THTTPRIO object is Destroyed an access violation occurs.
This AV is raised when the TSoapDOMConvert is freed, which in turn executes:
TRefCache(RefMap[0].Instance).Free
calling
destructor TRefCache.Destroy;
begin
FHREFs.Free;
FMHREFs.Free;
FNodes := nil; //Causes AV
end;
FNodes is a TInterfaceList containing one reference to IXMLNodes, but the object seems to have been freed before all this.
Does anyone know this problem? How to solve it?