epee: do not propagate exception through dtor

Coverity 161867
This commit is contained in:
moneromooo-monero 2018-09-27 17:40:56 +00:00
parent 0749a8bd3c
commit 2e2139ffb7
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -63,7 +63,8 @@ namespace epee
~async_stdin_reader()
{
stop();
try { stop(); }
catch (...) { /* ignore */ }
}
#ifdef HAVE_READLINE