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

Use explicit memory ownership in SocketMultiplexer #411

Merged
merged 2 commits into from
Aug 22, 2019

Conversation

p12tic
Copy link
Member

@p12tic p12tic commented Aug 22, 2019

The code of SocketMultiplexer is extremely hard to follow, as the ownership of various data is not clear. This PR fixes that by making ownership explicit by using std::unique_ptr. While no memory leaks have been detected or fixed, this will make this basically impossible in the future.

@AdrianKoshka AdrianKoshka merged commit 7bb541e into debauchee:master Aug 22, 2019
@p12tic p12tic deleted the rewrite-memory-management branch May 30, 2020 18:23
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