Skip to content

Commit aecb804

Browse files
committed
Call teardown on .Done()
1 parent ffacc48 commit aecb804

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wasp/wasp.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,7 @@ func (g *Generator) runVU(vu VirtualUser) {
443443
}()
444444
select {
445445
case <-g.ResponsesCtx.Done():
446+
g.runTeardownWithTimeout(vu)
446447
cancel()
447448
return
448449
case <-vu.StopChan():

0 commit comments

Comments
 (0)