* Fix for bug #18044

git-svn-id: trunk@16445 -
This commit is contained in:
michael 2010-11-26 13:02:55 +00:00
parent 43b6b58ea3
commit 74098a8f7d

View File

@ -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;