mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 20:40:56 +02:00
cocoa: sanity check before calling ProcessAsyncCallQueue
git-svn-id: trunk@61209 -
This commit is contained in:
parent
daa05e2732
commit
f256ae1065
@ -519,7 +519,8 @@ begin
|
||||
begin
|
||||
CheckSynchronize;
|
||||
NSApp.updateWindows;
|
||||
TCrackerApplication(Application).ProcessAsyncCallQueue;
|
||||
if Assigned(Application) then
|
||||
TCrackerApplication(Application).ProcessAsyncCallQueue;
|
||||
Result := nil
|
||||
end
|
||||
else if ((mode = NSEventTrackingRunLoopMode) or mode.isEqualToString(NSEventTrackingRunLoopMode))
|
||||
|
Loading…
Reference in New Issue
Block a user