added todo comment for logger flush

This commit is contained in:
Albert S. 2019-04-20 23:27:27 +02:00
父節點 2f82b56db1
當前提交 f160c72d2f

查看文件

@ -18,6 +18,7 @@ class Logger
{ {
QMutexLocker locker(&this->mutex); QMutexLocker locker(&this->mutex);
*out << val; *out << val;
// TODO: QDebug may not have flushed yet
file->flush(); file->flush();
return *this; return *this;
} }
@ -26,6 +27,7 @@ class Logger
{ {
QMutexLocker locker(&this->mutex); QMutexLocker locker(&this->mutex);
*out << val; *out << val;
// TODO: QDebug may not have flushed yet
file->flush(); file->flush();
return *this; return *this;
} }