We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef60d4a commit 1b11ec6Copy full SHA for 1b11ec6
boost/network/protocol/http/client/async_impl.hpp
@@ -64,7 +64,9 @@ struct async_client
64
~async_client() throw() {
65
sentinel_.reset();
66
if (lifetime_thread_.get()) {
67
- lifetime_thread_->join();
+ if (lifetime_thread_->get_id() != boost::this_thread::get_id()) {
68
+ lifetime_thread_->join();
69
+ }
70
lifetime_thread_.reset();
71
}
72
0 commit comments