MoBenchmark: restore listener at the end of finish()

This commit is contained in:
Tony Butler 2024-05-29 08:05:09 -06:00
parent adb372408a
commit 976c3c2e76

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