Prevent config reload after initial save.

This commit is contained in:
XMRig 2019-02-15 07:06:48 +07:00
parent f4d2dec628
commit 14e7c82512
6 changed files with 31 additions and 13 deletions

View file

@ -206,9 +206,7 @@ void Workers::start(xmrig::Controller *controller)
handle->start(Workers::onReady);
}
if (controller->config()->isShouldSave()) {
controller->config()->save();
}
controller->save();
}