Prevent config reload after initial save.

This commit is contained in:
XMRig
2019-02-15 07:06:48 +07:00
parent 347da8e782
commit 9543c27351
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();
}