Skip to content

Conversation

@jslater89
Copy link

This change stops rumble from leaking file descriptors when ConnectedAdapters go out of scope.

@jslater89
Copy link
Author

On reflection, this might need some further work to indicate that a clone of ConnectedAdapter (e.g. to be moved into a closure or a different thread) shouldn't necessarily close the underlying socket.

Not a super-satisfying fix, but a fix.
@jslater89
Copy link
Author

The second commit in this PR fixes the issue in my comment earlier, but not in a very satisfying way. I'm relatively new at Rust and happy to take suggestions.

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