win32: handle exceptions in OnTimer

git-svn-id: trunk@64033 -
This commit is contained in:
ondrej 2020-10-17 05:57:32 +00:00
parent 610353511b
commit 6b261ef9c4

View File

@ -2939,7 +2939,12 @@ begin
dec(n);
TimerInfo := FTimerData[n];
if TimerInfo^.TimerID=idEvent then begin
TimerInfo^.TimerFunc;
try
TimerInfo^.TimerFunc;
except
Application.HandleException(nil);
end;
break;
end;
end;