Reload the conf on SIGUSR1/2

This commit is contained in:
Florent Le Coz
2014-02-19 02:24:00 +01:00
parent 754dd898a7
commit 8fd2746696
3 changed files with 36 additions and 8 deletions
-1
View File
@@ -56,7 +56,6 @@ void Config::connect(t_config_changed_callback callback)
void Config::close()
{
Config* self = Config::instance().get();
self->save_to_file();
self->values.clear();
Config::instance().reset();
}