Skip to content

Commit

Permalink
Remove duplicate cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcoPolo committed Feb 9, 2023
1 parent daca0a7 commit 4eb06f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dht_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ func setupDHT(ctx context.Context, t *testing.T, client bool, options ...Option)

host, err := bhost.NewHost(swarmt.GenSwarm(t, swarmt.OptDisableReuseport), new(bhost.HostOpts))
require.NoError(t, err)
t.Cleanup(func() { host.Close() })
host.Start()
t.Cleanup(func() { host.Close() })

Expand Down

0 comments on commit 4eb06f3

Please sign in to comment.