Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5f3ce3b

Browse files
committed
1 parent23fe6eb commit5f3ce3b

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

‎boost/network/protocol/http/client/async_impl.hpp‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,15 @@ namespace boost { namespace network { namespace http {
5959

6060
~async_client()throw ()
6161
{
62-
sentinel_.reset();
63-
if (lifetime_thread_.get()) {
64-
lifetime_thread_->join();
65-
lifetime_thread_.reset();
62+
try {
63+
sentinel_.reset();
64+
if (lifetime_thread_.get()) {
65+
lifetime_thread_->join();
66+
lifetime_thread_.reset();
67+
}
68+
}
69+
catch (...) {
70+
// https://github.com/cpp-netlib/cpp-netlib/issues/358
6671
}
6772
}
6873

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp