mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 21:00:43 +02:00
cocoa: resolving event processing for modal loop application termination
git-svn-id: trunk@61407 -
This commit is contained in:
parent
3cba1d3b82
commit
7e3857ceac
@ -546,7 +546,9 @@ begin
|
||||
CocoaWidgetSet.ReleaseToCollect(idx);
|
||||
end;
|
||||
{$ifdef COCOALOOPNATIVE}
|
||||
if CocoaWidgetSet.FTerminating then stop(nil);
|
||||
except
|
||||
if CocoaWidgetSet.FTerminating then stop(nil);
|
||||
if Assigned(Application) and Application.CaptureExceptions then
|
||||
Application.HandleException(Application)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user