Fixed some Coverity reports

This commit is contained in:
SChernykh
2021-09-06 09:02:35 +02:00
parent b025056653
commit a36825424b
9 changed files with 25 additions and 9 deletions
+5 -1
View File
@@ -1004,12 +1004,16 @@ int p2pool::run()
return 1;
}
{
try {
ZMQReader z(m_params->m_host, m_params->m_zmqPort, this);
get_info();
const int rc = uv_run(uv_default_loop_checked(), UV_RUN_DEFAULT);
LOGINFO(1, "uv_run exited, result = " << rc);
}
catch (const std::exception& e) {
LOGERR(1, "exception " << e.what());
panic();
}
m_stopped = true;