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
commit 7e9881bbe6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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();
}