We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
auto http_close_fn = [=]() { lt.hserver->Stop(); OnListenThreadExited(exited_listen_thread_count->fetch_add(1) + 1); };
This lamba function use = to capture which will cause the shared_ptrstd::thread copied and then we cannot determine when to destruct the thread.
=