Commit df7f0a82 authored by captainwong's avatar captainwong

update

parent d91d8daa
......@@ -326,8 +326,8 @@ int main(int argc, char** argv)
auto main_thread_base = init_thread(sin, 0, session_per_thread);
event_base_dispatch(main_thread_base);
for (int i = 0; i < thread_count; i++) {
threads[i].join();
for (auto& t : threads) {
t.join();
}
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment