Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/asio
/ stop
Method
stop
example/cpp20/coroutines/chat_server.cpp:161–166 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
159
}
160
161
void stop()
162
{
163
room_.leave(shared_from_this());
164
socket_.close();
165
timer_.cancel();
166
}
167
168
tcp::socket socket_;
169
boost::asio::steady_timer timer_;
Callers
8
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
3
leave
Method · 0.45
close
Method · 0.45
cancel
Method · 0.45
Tested by
no test coverage detected