[CHANGE] shutdown logger - remove BREAK from return flags

This commit is contained in:
max 2024-10-29 16:23:47 +01:00
parent 7e15e12d45
commit 91b07bf433

View File

@ -18,13 +18,14 @@ int shutdown_logger(const void* data)
logger->app_logger = NULL; logger->app_logger = NULL;
logger->name = NULL; logger->name = NULL;
free(logger); free(logger);
return DELETE | BREAK; return DELETE;
} }
void shutdown_log(app_logger_info* appLogger) void shutdown_log(app_logger_info* appLogger)
{ {
canLog = false; canLog = false;
iterate_list(appLogger->loggers, true, &shutdown_logger); iterate_list(appLogger->loggers, true, &shutdown_logger);
free(appLogger);
} }
logger* create_logger(app_logger_info* appLogger, char* name) logger* create_logger(app_logger_info* appLogger, char* name)