aboutsummaryrefslogtreecommitdiffstats
path: root/vm
diff options
context:
space:
mode:
Diffstat (limited to 'vm')
-rw-r--r--vm/dispatcher/pool.go1
-rw-r--r--vm/vm_test.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/vm/dispatcher/pool.go b/vm/dispatcher/pool.go
index aa3228cbb..331bfd062 100644
--- a/vm/dispatcher/pool.go
+++ b/vm/dispatcher/pool.go
@@ -101,7 +101,6 @@ func (p *Pool[T]) Loop(ctx context.Context) {
var wg sync.WaitGroup
wg.Add(len(p.instances))
for _, inst := range p.instances {
- inst := inst
go func() {
for ctx.Err() == nil {
p.runInstance(ctx, inst)
diff --git a/vm/vm_test.go b/vm/vm_test.go
index 434446083..34b656799 100644
--- a/vm/vm_test.go
+++ b/vm/vm_test.go
@@ -337,7 +337,6 @@ var tests = []*Test{
func TestMonitorExecution(t *testing.T) {
for _, test := range tests {
- test := test
t.Run(test.Name, func(t *testing.T) {
t.Parallel()
testMonitorExecution(t, test)