Browse Source

Merge pull request #7999 from merryhime/fix-7992

backend: Ensure backend_thread is destructed before message_queue
nce_cpp
Mai M 4 years ago
committed by GitHub
parent
commit
d64f866600
  1. 2
      src/common/logging/backend.cpp

2
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

Loading…
Cancel
Save