Cocoa: Fix #39496: wakeup event loop in TCocoaWidgetSet.AppWaitMessage() when Application.Terminate()

This commit is contained in:
rich2014 2023-06-08 00:04:25 +08:00
parent 34ab4cb28a
commit e2f2b70e61

View File

@ -222,6 +222,8 @@ begin
{$ifdef COCOALOOPNATIVE}
NSApp.stop(nil);
{$else}
wakeupEventLoop;
{$endif}
end;