From 198efe207513ee0c4786816ec67421b3ad951da9 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Sun, 2 Aug 2020 14:39:47 +0000 Subject: [PATCH] * fpmkunit: only start the worker threads once they are fully initialised git-svn-id: trunk@45989 - --- packages/fpmkunit/src/fpmkunit.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/fpmkunit/src/fpmkunit.pp b/packages/fpmkunit/src/fpmkunit.pp index 716bef3f13..aa3ec09fb9 100644 --- a/packages/fpmkunit/src/fpmkunit.pp +++ b/packages/fpmkunit/src/fpmkunit.pp @@ -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;