control/noise: clean up resources in TestNoReuse
Close the server and client. Without this, we leak system threads. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>pull/3468/head
parent
c7fb26acdb
commit
25eab78573
|
@ -139,6 +139,9 @@ func TestNoReuse(t *testing.T) {
|
|||
t.Fatalf("server wire traffic seen twice")
|
||||
}
|
||||
packets[serverWire] = true
|
||||
|
||||
server.Close()
|
||||
client.Close()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue