various: do not propagate exception through dtor

Coverity 189689, 189690, 189692, 189695
This commit is contained in:
moneromooo-monero 2018-11-15 13:51:54 +00:00
parent d0c4123034
commit 2b3595d0fe
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 11 additions and 4 deletions

View file

@ -55,7 +55,8 @@ public:
{
if (m_ok)
{
mp_http_client->disconnect();
try { mp_http_client->disconnect(); }
catch (...) { /* do not propagate through dtor */ }
}
}