本文整理自网络,侵删。
idhttp使用时内存猛增,如何解决?
destructor Destroy; override; //hjh add
...................................
destructor TIdSocksInfo.Destroy;
begin //hjh add...........原有内存漏
try
if FUDPSocksAssociation <> nil then FUDPSocksAssociation.Free;
except
end;
inherited;
end;
IdSocks单元的TIdSocksInfo添加以上代码
相关阅读 >>
Delphi webbrowser getelementbyid().innerhtml与getelementbyid().value的区别
Delphi 2009 之 tcategorypanelgroup[1]: chevronalignment 等
delhpi如何直接获得webbrowser输入的xml文件
更多相关阅读请进入《Delphi》频道 >>