diff options
Diffstat (limited to 'container/stub/stub.go')
| -rw-r--r-- | container/stub/stub.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/stub/stub.go b/container/stub/stub.go index e0ade3b0..a5368920 100644 --- a/container/stub/stub.go +++ b/container/stub/stub.go @@ -68,7 +68,7 @@ func (s *Stub[K]) New(f func(k K)) { s.Helper() defer s.wg.Done() - defer handleExit(s.TB, false) + defer handleExitNew(s.TB) f(s.makeK(ds)) }() } |
