[fpc-pascal] TThread.OnTerminate never called

Dennis dec12 at avidsoft.com.hk
Sun Apr 21 18:22:02 CEST 2019


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

Is it supposed to be a dummy place holder?
I don't use Delphi any more. Is this behaviour the same as Delphi?

Thanks in advance.

Dennis



More information about the fpc-pascal mailing list