Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unslab remotePublicKey in connect #187

Merged
merged 2 commits into from
Jul 30, 2024
Merged

Unslab remotePublicKey in connect #187

merged 2 commits into from
Jul 30, 2024

Conversation

HDegroote
Copy link
Contributor

Currently causes a memleak in hyperswarm-secret-stream (its publicKey retains ~8kb buffers, its remotePublicKey retains ~68kb buffers)

@HDegroote HDegroote changed the title Unslab publicKey and remotePublicKey in connect Unslab remotePublicKey in connect Jul 30, 2024
@HDegroote
Copy link
Contributor Author

There's no point in unslabbing the publicKey, since it's our own key we use everywhere (so only one buffer)

@mafintosh mafintosh merged commit 4b080ad into main Jul 30, 2024
4 checks passed
@mafintosh mafintosh deleted the unslab-keys branch July 30, 2024 10:53
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.

2 participants