mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-22 22:42:53 -05:00
#40 Fix crash on Linux.
This commit is contained in:
@@ -123,10 +123,10 @@ int App::exec()
|
||||
|
||||
void App::close()
|
||||
{
|
||||
uv_signal_stop(&m_signal);
|
||||
|
||||
m_network->stop();
|
||||
Workers::stop();
|
||||
|
||||
uv_stop(uv_default_loop());
|
||||
}
|
||||
|
||||
|
||||
@@ -150,5 +150,6 @@ void App::onSignal(uv_signal_t *handle, int signum)
|
||||
break;
|
||||
}
|
||||
|
||||
uv_signal_stop(handle);
|
||||
m_self->close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user