mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 13:39:30 +02:00
cocoa: making loop hijacking more robust, if event processing was called prior to Application.Init
git-svn-id: trunk@61356 -
This commit is contained in:
parent
a4da0d9e1f
commit
a2a2ec1195
@ -508,7 +508,7 @@ var
|
||||
cb : ICommonCallback;
|
||||
begin
|
||||
{$ifndef COCOALOOPOVERRIDE}
|
||||
if not isrun then begin
|
||||
if not isrun and Assigned(aloop) then begin
|
||||
isrun := True;
|
||||
Result := nil;
|
||||
aloop();
|
||||
|
Loading…
Reference in New Issue
Block a user