mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-02-02 03:06:27 +00:00
Fixed coverity issue
This commit is contained in:
parent
3dde71f1ff
commit
948436e57e
1 changed files with 26 additions and 19 deletions
|
@ -2011,6 +2011,8 @@ void SideChain::finish_precalc()
|
|||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
{
|
||||
MutexLock lock(m_precalcJobsMutex);
|
||||
for (PrecalcJob* job : m_precalcJobs) {
|
||||
|
@ -2034,6 +2036,11 @@ void SideChain::finish_precalc()
|
|||
uv_cond_destroy(&m_precalcJobsCond);
|
||||
|
||||
LOGINFO(4, "pre-calculation workers stopped");
|
||||
}
|
||||
catch (const std::exception& e)
|
||||
{
|
||||
LOGERR(1, "exception in finish_precalc(): " << e.what());
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace p2pool
|
||||
|
|
Loading…
Reference in a new issue