Reload the conf on SIGUSR1/2

This commit is contained in:
Florent Le Coz committed 2014-02-19 02:24:00 +01:00
1 parent 754dd898a7
commit 8fd2746696
3 files changed
+36 -8

No files matched your search

-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();
}