Skip to content

Commit

Permalink
net_helper: do not propagate exceptions through dtor
Browse files Browse the repository at this point in the history
Coverity 161864
  • Loading branch information
moneromooo-monero committed Sep 27, 2018
1 parent fb6a363 commit 1eebb82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/epee/include/net/net_helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1eebb82

Please sign in to comment.