mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 00:37:46 +00:00
#1183 Fixed crash in background mode.
This commit is contained in:
parent
e57798360f
commit
cf6bd0e772
1 changed files with 5 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue