Skip to content

Use explicit memory ownership in SocketMultiplexer #411

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

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
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request May 25, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 12, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 14, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 14, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 14, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 15, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 17, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 19, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 19, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 20, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 23, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jun 30, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jul 14, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jul 14, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jul 25, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Jul 29, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Aug 6, 2025
sithlord48 pushed a commit to deskflow/deskflow that referenced this pull request Aug 11, 2025
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