Skip to content

WsStreamingServer rece fix - #10

Merged
viacheslauK merged 1 commit into
mainfrom
server-race-issue
Jun 30, 2026
Merged

WsStreamingServer rece fix#10
viacheslauK merged 1 commit into
mainfrom
server-race-issue

Conversation

@viacheslauK

Copy link
Copy Markdown
Contributor

Stops boost::asio::io_context processing thread before _server.close() call.
server::on_connection_disconnected mutates _clients on the asio io thread while server::close() clears the same unguarded std::list on the main thread (WsStreamingServer::onStopServer calls close() before stopping/joining the io thread).

…) call.

server::on_connection_disconnected mutates _clients on the asio io thread
while server::close() clears the same unguarded std::list on the main thread
(WsStreamingServer::onStopServer calls close() before stopping/joining the io thread)
@viacheslauK
viacheslauK merged commit f0f2e58 into main Jun 30, 2026
15 checks passed
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