FObjects not cleared in THTMLViewer.Clear
raelb opened this issue · 1 comments
raelb commented
Hi,
This looks like a bug to me. FObjects is not cleared in THTMLViewer.Clear
There won't be a memory leak because FObjects owns the objects, however a problem I had was that THtmlViewer.htStreamRequest
GetTheFile
actually locks the file (TFileStream.Create( htStringToString(Url), fmOpenRead or fmShareDenyWrite)
), and so this resource is not released by calling HTMLViewer.Clear.
BerndGabriel commented
Hi raelb,
I cannot reproduce a situation in which closing the file in TFileStream.Destroy fails.
Could you please post or email a html document, that fails? Thank you.