mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 23:30:30 +02:00
Cocoa: Fix #39496: wakeup event loop in TCocoaWidgetSet.AppWaitMessage() when Application.Terminate()
This commit is contained in:
parent
34ab4cb28a
commit
e2f2b70e61
@ -222,6 +222,8 @@ begin
|
||||
|
||||
{$ifdef COCOALOOPNATIVE}
|
||||
NSApp.stop(nil);
|
||||
{$else}
|
||||
wakeupEventLoop;
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user