mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 06:56:10 +02:00
lazbuild: comment
git-svn-id: trunk@57374 -
This commit is contained in:
parent
193932300b
commit
96d15f563f
@ -595,7 +595,12 @@ begin
|
||||
if MainThreadID=GetCurrentThreadId then
|
||||
AutoFree
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user