Skip to content

Commit

Permalink
Correction logger.cpp
Browse files Browse the repository at this point in the history
Signed-off-by: arnaud <[email protected]>
  • Loading branch information
ARnDOSrte committed Oct 16, 2023
1 parent 9e4cf11 commit 5ef6d54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metrix-simulator/log/src/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Logger::~Logger()
if (!context_.stopped()) {
context_.stop();
}
if (thread_ && thread_->get_id() != std::this_thread::get_id()) {
if (thread_ && !(thread_->get_id() == std::this_thread::get_id())) {
thread_->join();
}

Expand Down

0 comments on commit 5ef6d54

Please sign in to comment.