本文整理自网络,侵删。
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添加以上代码 相关阅读 >>
indy 中idhttp元件出现http status 302错误
Delphi 10 seattle的android应用程序的主屏幕上创建快捷方式
更多相关阅读请进入《Delphi》频道 >>