From 3920acf8c215a30bc3b48408cf46a3951ec04555 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 4 Sep 2025 19:39:12 +0900 Subject: container/stub: remove function call in handleExit This gets inlined and does not cause problems usually but turns out -coverpkg uninlines it and breaks the recovery. Signed-off-by: Ophestra --- container/stub/stub.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/stub/stub.go') 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)) }() } -- cgit v1.3.1