fix bug in logger_file where logger was used but not initialized

master
Andre Puschmann 7 years ago
parent 5c7cf5594a
commit f7fee76022

@ -43,8 +43,8 @@ logger_file::logger_file()
logger_file::~logger_file() {
not_done = false;
log(new std::string("Closing log\n"));
if(inited) {
log(new std::string("Closing log\n"));
wait_thread_finish();
flush();
if (logfile) {

Loading…
Cancel
Save