mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:59:31 +02:00
win32: handle exceptions in OnTimer
git-svn-id: trunk@64033 -
This commit is contained in:
parent
610353511b
commit
6b261ef9c4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user