Skip to content

Conversation

@sukunrt
Copy link
Member

@sukunrt sukunrt commented Aug 10, 2024

Using the BasicHost constructor transfers the ownership of the swarm. This is similar to how using libp2p.New transfers the ownership of user provided config options like ResourceManager, all of which are closed on host.Close.

closes #2911

Using the `BasicHost` constructor transfers the ownership of the swarm.
This is similar to how using `libp2p.New` transfers the ownership of
user provided config options like `ResourceManager`, all of which are
closed on `host.Close`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DHT: go-libp2p v0.34 breaks TestRTEvictionOnFailedQuery in the DHT

3 participants