#1183 Fixed crash in background mode.

This commit is contained in:
XMRig 2019-09-21 19:05:52 +07:00
parent e57798360f
commit cf6bd0e772

View file

@ -150,7 +150,11 @@ void xmrig::App::onSignal(int signum)
void xmrig::App::close()
{
m_signals->stop();
m_console->stop();
if (m_console) {
m_console->stop();
}
m_controller->stop();
Log::destroy();