mirror of https://github.com/PentHertz/srsLTE.git
fix bug in logger_file where logger was used but not initialized
This commit is contained in:
parent
5c7cf5594a
commit
f7fee76022
|
@ -43,8 +43,8 @@ logger_file::logger_file()
|
||||||
|
|
||||||
logger_file::~logger_file() {
|
logger_file::~logger_file() {
|
||||||
not_done = false;
|
not_done = false;
|
||||||
log(new std::string("Closing log\n"));
|
|
||||||
if(inited) {
|
if(inited) {
|
||||||
|
log(new std::string("Closing log\n"));
|
||||||
wait_thread_finish();
|
wait_thread_finish();
|
||||||
flush();
|
flush();
|
||||||
if (logfile) {
|
if (logfile) {
|
||||||
|
|
Loading…
Reference in New Issue