mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 07:28:54 +00:00
Brackets to ensure doesn't function prematurely return
This commit is contained in:
parent
8ed0d72b12
commit
fb1785ab94
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user