mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-08 20:59:17 +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
|
begin
|
||||||
CheckSynchronize;
|
CheckSynchronize;
|
||||||
NSApp.updateWindows;
|
NSApp.updateWindows;
|
||||||
TCrackerApplication(Application).ProcessAsyncCallQueue;
|
if Assigned(Application) then
|
||||||
|
TCrackerApplication(Application).ProcessAsyncCallQueue;
|
||||||
Result := nil
|
Result := nil
|
||||||
end
|
end
|
||||||
else if ((mode = NSEventTrackingRunLoopMode) or mode.isEqualToString(NSEventTrackingRunLoopMode))
|
else if ((mode = NSEventTrackingRunLoopMode) or mode.isEqualToString(NSEventTrackingRunLoopMode))
|
||||||
|
Loading…
Reference in New Issue
Block a user