当前位置:网站首页>Delphi free memory
Delphi free memory
2022-07-05 03:10:00 【Listest】
procedure Tfrmmain.ResetHttpClient;
begin
try
if Assigned(httpClient) then
begin
FreeAndNil(httpClient);
end;
httpClient := TIdHTTP.Create(nil);
httpClient.HandleRedirects := True;
httpClient.Request.AcceptEncoding := '';
httpClient.ReadTimeout:= 30000;
httpClient.ConnectTimeout:= 30000;
except
end;
end;
procedure Tfrmmain.ResetstrList;
begin
try
if Assigned(strList) then
begin
FreeAndNil(strList);
end;
strList := TStringList.Create;
strList.Clear;
except
end;
end;
边栏推荐
- Hot knowledge of multithreading (I): introduction to ThreadLocal and underlying principles
- D3js notes
- College Students' innovation project management system
- Single box check box
- 2021 Li Hongyi machine learning (2): pytorch
- Avoid material "minefields"! Play with super high conversion rate
- Watch the online press conference of tdengine community heroes and listen to TD hero talk about the legend of developers
- Why are there fewer and fewer good products produced by big Internet companies such as Tencent and Alibaba?
- Design and practice of kubernetes cluster and application monitoring scheme
- Yuan universe also "real estate"? Multiple second-hand trading websites block metauniverse keywords
猜你喜欢
Zabbix
Design and implementation of high availability website architecture
Tiny series rendering tutorial
Linux Installation redis
Pdf things
Hot knowledge of multithreading (I): introduction to ThreadLocal and underlying principles
Accuracy problem and solution of BigDecimal
Kbp206-asemi rectifier bridge kbp206
this+闭包+作用域 面试题
Huawei MPLS experiment
随机推荐
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Anchor free series network yolox source code line by line explanation Part 2 (a total of 10, ensure to explain line by line, after reading, you can change the network at will, not just as a participan
About MySQL database connection exceptions
The perfect car for successful people: BMW X7! Superior performance, excellent comfort and safety
Share the newly released web application development framework based on blazor Technology
Privatization lightweight continuous integration deployment scheme -- 01 environment configuration (Part 1)
College Students' innovation project management system
8. Commodity management - commodity classification
Une question est de savoir si Flink SQL CDC peut définir le parallélisme. Si le parallélisme est supérieur à 1, il y aura un problème d'ordre?
2. Common request methods
How to make OS X read bash_ Profile instead of Profile file - how to make OS X to read bash_ profile not . profile file
SFTP cannot connect to the server # yyds dry goods inventory #
单项框 复选框
ELFK部署
ELK日志分析系统
2021 Li Hongyi machine learning (1): basic concepts
this+闭包+作用域 面试题
Zabbix
Performance of calling delegates vs methods
Utilisation simple de devtools