Fixed some Coverity reports
This commit is contained in:
+5
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user