diff options
| author | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:07:51 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2018-12-04 17:07:51 +0200 |
| commit | 398f7076bb67d749d76a1b275e5bd771e9714b4b (patch) | |
| tree | 792b06ae57ec00c1b5d704655a7d81cf7fbe7064 /src/common | |
| parent | 40650b43b852a983af5a8df308aa3abf1a1d61dc (diff) | |
| parent | 2b3595d0fe056ec4245ad3177d56c1e92da1ff9e (diff) | |
| download | monzero-core-398f7076bb67d749d76a1b275e5bd771e9714b4b.tar.gz monzero-core-398f7076bb67d749d76a1b275e5bd771e9714b4b.tar.xz monzero-core-398f7076bb67d749d76a1b275e5bd771e9714b4b.zip | |
Merge pull request #4853
2b3595d0 various: do not propagate exception through dtor (moneromooo-monero)
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/http_connection.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/http_connection.h b/src/common/http_connection.h index 9fc6be261..554dd832b 100644 --- a/src/common/http_connection.h +++ b/src/common/http_connection.h @@ -55,7 +55,8 @@ public: { if (m_ok) { - mp_http_client->disconnect(); + try { mp_http_client->disconnect(); } + catch (...) { /* do not propagate through dtor */ } } } |
