Fixed bugs.

This commit is contained in:
XMRig 2019-07-18 04:21:14 +07:00
parent 6f93b7b38d
commit 871bc3e180
2 changed files with 5 additions and 3 deletions

View file

@ -158,7 +158,7 @@ void xmrig::CpuWorker<N>::start()
do {
std::this_thread::sleep_for(std::chrono::milliseconds(200));
}
while (Nonce::isPaused());
while (Nonce::isPaused() && Nonce::sequence(Nonce::CPU) > 0);
if (Nonce::sequence(Nonce::CPU) == 0) {
break;