From: Simon Josefsson <simon@josefsson.org>
Date: Sat, 14 Dec 2024 09:12:05 +0100
Subject: [PATCH] Fix unused variable usage
Forwarded: not-needed

diff --git a/threadgroup_test.go b/threadgroup_test.go
index 3fa3a18..8b2cf99 100644
--- a/threadgroup_test.go
+++ b/threadgroup_test.go
@@ -433,7 +433,7 @@ func TestThreadGroupNetworkExample(t *testing.T) {
 	if err != nil {
 		t.Fatal(err)
 	}
-	if !threadFinished2 || !listenerCleanedUp {
+	if !threadFinished || !threadFinished2 || !listenerCleanedUp {
 		t.Error("stop did not block until all running resources had closed")
 	}
 }
