|
@@ -182,8 +182,8 @@ begin
|
|
|
begin
|
|
|
// if someone calls .Free on a thread with not(FreeOnTerminate), there
|
|
|
// is no problem. Otherwise, FreeOnTerminate must be set to false so
|
|
|
- // when ThreadFunc exits the main runloop, it does try to Free itself
|
|
|
- // again
|
|
|
+ // when ThreadFunc exits the main runloop, it does not try to Free
|
|
|
+ // itself again
|
|
|
FFreeOnTerminate := false;
|
|
|
{ you can't join yourself, so only for FThreadID<>GetCurrentThreadID }
|
|
|
{ and you can't join twice -> make sure we didn't join already }
|