mirror of
https://github.com/xmrig/xmrig.git
synced 2025-02-02 03:06:30 +00:00
Fix stop for FailoverStrategy.
This commit is contained in:
parent
7b21749a19
commit
5bed17a8af
1 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,11 @@ void FailoverStrategy::stop()
|
|||
for (size_t i = 0; i < m_pools.size(); ++i) {
|
||||
m_pools[i]->disconnect();
|
||||
}
|
||||
|
||||
m_index = 0;
|
||||
m_active = -1;
|
||||
|
||||
m_listener->onPause(this);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue