mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-09 18:57:25 +01:00
parent
43b6b58ea3
commit
74098a8f7d
@ -253,6 +253,8 @@ Procedure TFPThreadedTimerDriver.StopTimer;
|
||||
begin
|
||||
FThread.FTimerDriver:=Nil;
|
||||
FThread.Terminate; // Will free itself.
|
||||
FThread:=Nil;
|
||||
CheckSynchronize; // make sure thread is not stuck at synchronize call.
|
||||
end;
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user