diff --git a/playlet-lib/src/components/JobSystem/JobTask.bs b/playlet-lib/src/components/JobSystem/JobTask.bs index 18e8eb20..edde1c3b 100644 --- a/playlet-lib/src/components/JobSystem/JobTask.bs +++ b/playlet-lib/src/components/JobSystem/JobTask.bs @@ -44,7 +44,16 @@ function ExecuteJobRequest(request as object) as void job.input = request.input end if - LogDebug("Executing job:", request.jobName) + #if DEBUG + LogDebug("Executing job:", request.jobName) + time = CreateObject("roTimespan") + #end if + job@.Execute() + + #if DEBUG + LogDebug("Job executed:", request.jobName, "in", time.TotalMilliseconds(), "ms") + #end if + job.input = invalid end function