mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 18:11:05 +00:00
Sync changes.
This commit is contained in:
parent
b7c17cf1a0
commit
84f85b4200
3 changed files with 14 additions and 22 deletions
|
@ -96,7 +96,6 @@ int xmrig::App::exec()
|
|||
|
||||
if (m_controller->config()->isDryRun()) {
|
||||
LOG_NOTICE("OK");
|
||||
release();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -123,7 +122,6 @@ int xmrig::App::exec()
|
|||
const int r = uv_run(uv_default_loop(), UV_RUN_DEFAULT);
|
||||
uv_loop_close(uv_default_loop());
|
||||
|
||||
release();
|
||||
return r;
|
||||
}
|
||||
|
||||
|
@ -194,8 +192,3 @@ void xmrig::App::close()
|
|||
|
||||
uv_stop(uv_default_loop());
|
||||
}
|
||||
|
||||
|
||||
void xmrig::App::release()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -59,7 +59,6 @@ protected:
|
|||
private:
|
||||
void background();
|
||||
void close();
|
||||
void release();
|
||||
|
||||
Console *m_console;
|
||||
Controller *m_controller;
|
||||
|
|
|
@ -47,9 +47,9 @@ class xmrig::ControllerPrivate
|
|||
{
|
||||
public:
|
||||
inline ControllerPrivate(Process *process) :
|
||||
config(nullptr),
|
||||
network(nullptr),
|
||||
process(process),
|
||||
config(nullptr)
|
||||
process(process)
|
||||
{}
|
||||
|
||||
|
||||
|
@ -60,10 +60,10 @@ public:
|
|||
}
|
||||
|
||||
|
||||
Config *config;
|
||||
Network *network;
|
||||
Process *process;
|
||||
std::vector<IControllerListener *> listeners;
|
||||
Config *config;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue