El 21/4/19 a les 18:22, Dennis ha escrit:
I am using FPC 3.0.4 Lazarus 2.00 on windows 64

I created a subclass of TThread and found out that the TThread.OnTerminate event was never called (I already assigned it). Also, I search the source code of TThread in classeh.inc and found that there was no calling of FOnTerminate nor OnTerminate

function ThreadProc in objpas/classes/classes.inc calls Thread.DoTerminate, which in turn checks for FOnTerminate and calls it.

Bye
--
Luca
_______________________________________________
fpc-pascal maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to