Skip to content
Snippets Groups Projects
Commit 78f53cb2 authored by Eric Cano's avatar Eric Cano
Browse files

Added a actual copy of the log context in OStoreDB::SharedQueueLock

The previous case, keeping a reference created a race condition as 2 threads would
use the same logContext.
parent ecabe6bf
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ public:
private:
std::unique_ptr<objectstore::ScopedExclusiveLock> m_lock;
std::unique_ptr<objectstore::ArchiveQueue> m_queue;
log::LogContext & m_logContext;
log::LogContext m_logContext;
utils::Timer m_timer;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment