Skip to content

Cleanup strand binding in socket class#4498

Merged
pwojcikdev merged 3 commits intonanocurrency:developfrom
pwojcikdev:networking-fixes-double-binding
Mar 18, 2024
Merged

Cleanup strand binding in socket class#4498
pwojcikdev merged 3 commits intonanocurrency:developfrom
pwojcikdev:networking-fixes-double-binding

Conversation

@pwojcikdev
Copy link
Copy Markdown
Contributor

This removes unnecessary double binding to strand (doing both boost::asio::post (strand, ...) and boost::asio::bind_executor (strand, ...) is unnecessary, unless it's the completion handler). Additionally there is some code cleanup.

@pwojcikdev pwojcikdev merged commit 88d27d8 into nanocurrency:develop Mar 18, 2024
@pwojcikdev pwojcikdev deleted the networking-fixes-double-binding branch March 18, 2024 19:18
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