1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-14 10:32:38 -05:00

Merge pull request #134 from Spudz76/pr-mo-fix-no-results

MoBenchmark: restore listener at the end of finish()
This commit is contained in:
MoneroOcean
2024-05-29 08:45:14 -07:00
committed by GitHub

View File

@@ -56,6 +56,7 @@ void MoBenchmark::finish() {
LOG_INFO("%s " BRIGHT_BLACK_BG(CYAN_BOLD_S " ALGO PERFORMANCE CALIBRATION COMPLETE "), Tags::benchmark());
m_controller->miner()->pause(); // do not compute anything before job from the pool
JobResults::stop();
JobResults::setListener(m_controller->network(), m_controller->config()->cpu().isHwAES());
m_controller->start();
}