Skip to content
This repository was archived by the owner on Aug 2, 2021. It is now read-only.

p2p/protocols, swarm/network: fix p2p resource leak#1346

Merged
acud merged 1 commit intoswarm-rather-stablefrom
protocol-tester-leak
Apr 26, 2019
Merged

p2p/protocols, swarm/network: fix p2p resource leak#1346
acud merged 1 commit intoswarm-rather-stablefrom
protocol-tester-leak

Conversation

@acud
Copy link
Copy Markdown
Contributor

@acud acud commented Apr 19, 2019

this PR fixes the resource leak due to improper shutdown of p2p server on p2p/protocoltester.
we are still leaking keystores but this is a bit more hard to pin down, since the keystore directory is created side-by-side with the node data directory. I think this is done when the geth components get bootstrapped and the keystore gets created automatically.

fixes #1322

Copy link
Copy Markdown
Member

@janos janos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@acud acud merged commit 1502800 into swarm-rather-stable Apr 26, 2019
@acud acud deleted the protocol-tester-leak branch April 26, 2019 07:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants