Small code cleanups.
This commit is contained in:
parent
a5dcd6dd1f
commit
948f23c7d9
3 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue