mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Small code cleanups.
This commit is contained in:
@@ -55,7 +55,7 @@ xmrig::App::App(Process *process) :
|
||||
m_httpd(nullptr),
|
||||
m_signals(nullptr)
|
||||
{
|
||||
m_controller = new xmrig::Controller(process);
|
||||
m_controller = new Controller(process);
|
||||
if (m_controller->init() != 0) {
|
||||
return;
|
||||
}
|
||||
@@ -178,7 +178,7 @@ void xmrig::App::onSignal(int signum)
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
return;
|
||||
}
|
||||
|
||||
close();
|
||||
|
||||
Reference in New Issue
Block a user