diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-15 13:51:54 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-15 15:53:21 +0000 |
| commit | 2b3595d0fe056ec4245ad3177d56c1e92da1ff9e (patch) | |
| tree | b889e5f02780a6bf547cab83f7d6952f05313665 /src/common | |
| parent | d0c4123034248389597caa0c334e7e69219d2a74 (diff) | |
| download | monzero-core-2b3595d0fe056ec4245ad3177d56c1e92da1ff9e.tar.gz monzero-core-2b3595d0fe056ec4245ad3177d56c1e92da1ff9e.tar.xz monzero-core-2b3595d0fe056ec4245ad3177d56c1e92da1ff9e.zip | |
various: do not propagate exception through dtor
Coverity 189689, 189690, 189692, 189695
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 */ } } } |
