lazbuild: comment

git-svn-id: trunk@57374 -
This commit is contained in:
mattias 2018-02-25 16:13:40 +00:00
parent 193932300b
commit 96d15f563f

View File

@ -595,7 +595,12 @@ begin
if MainThreadID=GetCurrentThreadId then if MainThreadID=GetCurrentThreadId then
AutoFree AutoFree
else if (Application<>nil) then else if (Application<>nil) then
Application.QueueAsyncCall(@SyncAutoFree,0); Application.QueueAsyncCall(@SyncAutoFree,0)
else
begin
// Note: lazbuild has Application=nil and frees threads via the main thread
debugln(['WARNING: (lazarus) TExternalTool.SetThread can not call AutoFree from other thread']);
end;
end; end;
end; end;