mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 07:50:20 +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);
|
CocoaWidgetSet.ReleaseToCollect(idx);
|
||||||
end;
|
end;
|
||||||
{$ifdef COCOALOOPNATIVE}
|
{$ifdef COCOALOOPNATIVE}
|
||||||
|
if CocoaWidgetSet.FTerminating then stop(nil);
|
||||||
except
|
except
|
||||||
|
if CocoaWidgetSet.FTerminating then stop(nil);
|
||||||
if Assigned(Application) and Application.CaptureExceptions then
|
if Assigned(Application) and Application.CaptureExceptions then
|
||||||
Application.HandleException(Application)
|
Application.HandleException(Application)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user