Clean the Config module, use static things instead of a stupid singleton
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
|
||||
void reload_process()
|
||||
{
|
||||
// Closing the config will just force it to be reopened the next time
|
||||
// a configuration option is needed
|
||||
Config::close();
|
||||
Config::read_conf();
|
||||
// Destroy the logger instance, to be recreated the next time a log
|
||||
// line needs to be written
|
||||
Logger::instance().reset();
|
||||
|
||||
Reference in New Issue
Block a user