Brackets to ensure doesn't function prematurely return

This commit is contained in:
NanoAkron 2016-10-04 01:10:12 +01:00
parent 8ed0d72b12
commit fb1785ab94
No known key found for this signature in database
GPG key ID: 346A337AA2EA8B57

View file

@ -281,8 +281,10 @@ namespace cryptonote
LOG_PRINT_L1("Miner has received stop signal");
if (!is_mining())
{
LOG_PRINT_L1("Not mining - nothing to stop" );
return true;
}
send_stop_signal();
CRITICAL_REGION_LOCAL(m_threads_lock);