fix: Drop dynamic loggers to fix memory leak (#2686)

This commit is contained in:
Ayaz Salikhov
2025-10-09 16:51:55 +01:00
committed by GitHub
parent b4fb3e42b8
commit dabaa5bf80
7 changed files with 78 additions and 26 deletions

View File

@@ -35,7 +35,7 @@ LoggerFixture::init()
{
util::LogServiceState::init(false, util::Severity::FTL, {});
std::ranges::for_each(util::Logger::kCHANNELS, [](char const* channel) {
std::ranges::for_each(util::Logger::kCHANNELS, [](std::string_view const channel) {
util::LogService::registerLogger(channel);
});