Browse Source
Merge pull request #7999 from merryhime/fix-7992
backend: Ensure backend_thread is destructed before message_queue
pull/15/merge
Mai M
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/common/logging/backend.cpp
|
|
|
@ -276,9 +276,9 @@ private: |
|
|
|
ColorConsoleBackend color_console_backend{}; |
|
|
|
FileBackend file_backend; |
|
|
|
|
|
|
|
std::jthread backend_thread; |
|
|
|
MPSCQueue<Entry, true> message_queue{}; |
|
|
|
std::chrono::steady_clock::time_point time_origin{std::chrono::steady_clock::now()}; |
|
|
|
std::jthread backend_thread; |
|
|
|
}; |
|
|
|
} // namespace
|
|
|
|
|
|
|
|
|