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:
dmitry 2019-06-11 15:49:21 +00:00
parent a4da0d9e1f
commit a2a2ec1195

View File

@ -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();