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

@@ -52,6 +52,7 @@ public:
static bool loadFromJSON(IConfig *config, const char *json);
static bool loadFromJSON(IConfig *config, const rapidjson::Document &doc);
static bool reload(IConfig *oldConfig, const char *json);
static bool watch(IConfig *config);
static IConfig *load(Process *process, IConfigCreator *creator, IConfigListener *listener);
static void release();