Yes it will terminate and free (if FreeOnTerminate is true).
----- Please excuse the shortness of this mail which was sent from my mobile phone. If necessary, I will send more information later. Cheers, Tobias Giesen > On 01.11.2015, at 15:25, Bo Berglund <bo.bergl...@gmail.com> wrote: > > I have seen that the Execute method must chect for Terminated in its > loop and exit if Terminated is set to true. > But I cannot find mention on what happens if the Execute method exits > without Terminated having first been set. > Does this cause the thread itself to terminate and free or what > happens? > > -- > Bo Berglund > Developer in Sweden > > _______________________________________________ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal