likyh commented on code in PR #2084:
URL: https://github.com/apache/incubator-devlake/pull/2084#discussion_r889790430


##########
plugins/helper/default_task_context.go:
##########
@@ -188,14 +188,14 @@ func (c *DefaultTaskContext) SubTaskContext(subtask 
string) (core.SubTaskContext
        if run, ok := c.subtasks[subtask]; ok {
                if run {
                        // now, create a sub task context if it didn't exist
-                       c.mu.Lock()
+                       c.defaultExecContext.mu.Lock()

Review Comment:
   Why change this?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to