net_helper: do not propagate exceptions through dtor

Coverity 161864
This commit is contained in:
moneromooo-monero 2018-09-27 17:43:49 +00:00
parent fb6a363050
commit 1eebb82bcc
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3
1 changed files with 2 additions and 1 deletions

View File

@ -106,7 +106,8 @@ namespace net_utils
~blocked_mode_client()
{
//profile_tools::local_coast lc("~blocked_mode_client()", 3);
shutdown();
try { shutdown(); }
catch(...) { /* ignore */ }
}
inline