Skip to content

Commit

Permalink
fix wait channel buf 1.0 (#13708)
Browse files Browse the repository at this point in the history
  • Loading branch information
aptend authored Dec 21, 2023
1 parent c758fc0 commit 8081e05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/vm/engine/tae/tasks/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewBaseTask(impl Task, taskType TaskType, ctx *Context) *BaseTask {
DoneCB: doneCB,
}
if doneCB == nil {
task.Op.ErrorC = make(chan error)
task.Op.ErrorC = make(chan error, 1)
}
return task
}
Expand Down

0 comments on commit 8081e05

Please sign in to comment.