Autor Beitrag
ralfi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 153



BeitragVerfasst: Sa 12.06.04 13:53 
Hallo!

Wenn ich innerhalb eines Threads Komponente erstelle wie z. B.

ausblenden Quelltext
1:
2:
3:
4:
5:
...
http := TIdHTTP.Create(nil);
LinkStrings := TStringList.Create;
...
etc.


muss ich diese manuel wieder freigeben, bevor der Thread sich beendet oder werden die Komponenten beim beenden des Threads automatisch freigegeben?
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: Sa 12.06.04 14:21 
Objekte die du erzeugst musst auch du freigeben (außer du weißt ihnen einen Owner zu, was aber nur bei Komponenten geht, die mindestens von TComponent abstammen)...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!