diff --git a/client/app_config.cpp b/client/app_config.cpp index 13b2a75ca7..e65bee018c 100644 --- a/client/app_config.cpp +++ b/client/app_config.cpp @@ -191,6 +191,7 @@ void max_concurrent_init() { // It will be restored on next scheduler RPC. // static void clear_app_config(PROJECT* p) { + p->app_configs.clear(); for (unsigned int i=0; iproject != p) continue; diff --git a/client/app_config.h b/client/app_config.h index d2e9eac063..81c6c111d2 100644 --- a/client/app_config.h +++ b/client/app_config.h @@ -54,6 +54,10 @@ struct APP_CONFIGS { int parse(XML_PARSER&, PROJECT*); int parse_file(FILE*, PROJECT*); void config_app_versions(PROJECT*, bool show_warnings); + void clear() { + app_configs.clear(); + app_version_configs.clear(); + } }; extern bool have_max_concurrent;