mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-11-16 15:57:39 +00:00
Update stratum_server.cpp
This commit is contained in:
parent
aba3bc50b8
commit
9808685981
1 changed files with 4 additions and 3 deletions
|
@ -427,10 +427,11 @@ void StratumServer::on_after_share_found(uv_work_t* req, int /*status*/)
|
|||
ON_SCOPE_LEAVE(
|
||||
[share]()
|
||||
{
|
||||
{
|
||||
MutexLock lock(share->m_server->m_submittedSharesPoolLock);
|
||||
share->m_server->m_submittedSharesPool.push_back(share);
|
||||
}
|
||||
bkg_jobs_tracker.stop("StratumServer::on_share_found");
|
||||
|
||||
MutexLock lock(share->m_server->m_submittedSharesPoolLock);
|
||||
share->m_server->m_submittedSharesPool.push_back(share);
|
||||
});
|
||||
|
||||
StratumClient* client = share->m_client;
|
||||
|
|
Loading…
Reference in a new issue