* fpmkunit: only start the worker threads once they are fully initialised

git-svn-id: trunk@45989 -
This commit is contained in:
Jonas Maebe 2020-08-02 14:39:47 +00:00
parent 848ec1d219
commit 198efe2075

View File

@ -3180,10 +3180,11 @@ end;
constructor TCompileWorkerThread.Create(ABuildEngine: TBuildEngine; NotifyMainThreadEvent: PRTLEvent);
begin
inherited Create(false);
inherited Create(true);
FNotifyStartTask := RTLEventCreate;
FBuildEngine := ABuildEngine;
FNotifyMainThreadEvent:=NotifyMainThreadEvent;
Start;
end;
destructor TCompileWorkerThread.Destroy;