committed by
GitHub
parent
59953172e8
commit
3d2db20777
@@ -77,7 +77,7 @@ class Server
|
||||
boost::bind(&boost::asio::io_context::run, &io_context));
|
||||
threads.push_back(thread);
|
||||
}
|
||||
for (auto thread : threads)
|
||||
for (const auto &thread : threads)
|
||||
{
|
||||
thread->join();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user