Skip to content

Commit

Permalink
Delete the log consumers before closing
Browse files Browse the repository at this point in the history
Signed-off-by: tempate <[email protected]>
  • Loading branch information
Tempate committed Mar 5, 2024
1 parent 2a78f56 commit f553438
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fastddsspy_tool/src/cpp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,5 +244,8 @@ int main(
// Force print every log before closing
eprosima::utils::Log::Flush();

// Delete the consumers before closing
eprosima::utils::Log::ClearConsumers();

return static_cast<int>(eprosima::spy::ProcessReturnCode::success);
}

0 comments on commit f553438

Please sign in to comment.