diff options
author | Anton Hrytsevich <ahrytsevich> | 2016-01-18 16:22:41 +0200 |
---|---|---|
committer | Anton Hrytsevich <ahrytsevich> | 2016-02-01 12:25:46 +0200 |
commit | 68a6c8206579a4632ed7fa4ab585127e96129f9b (patch) | |
tree | 62de14c1e2de107c5e8f5457092dfdbee0ce512b /src/components/utils | |
parent | 04d1ae794e8fa3736bae943ad922ed1cbbf4054e (diff) | |
download | sdl_core-68a6c8206579a4632ed7fa4ab585127e96129f9b.tar.gz |
Add illustrating comment after review
Add comment to logger.cc in function flush_logger
Diffstat (limited to 'src/components/utils')
-rw-r--r-- | src/components/utils/src/logger.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/utils/src/logger.cc b/src/components/utils/src/logger.cc index 06af9e750e..3c619237bf 100644 --- a/src/components/utils/src/logger.cc +++ b/src/components/utils/src/logger.cc @@ -55,6 +55,7 @@ void deinit_logger () { // It's just for unloading logger queue void flush_logger() { logger::LoggerStatus old_status = logger::logger_status; + // Stop pushing new messages to the log queue logger::logger_status = logger::DeletingLoggerThread; logger::LogMessageLoopThread::instance()->WaitUntilEmpty(); logger::logger_status = old_status; |