mirror of
https://github.com/hmaxnl/netex.git
synced 2025-01-18 15:34:20 +01:00
[CHANGE] shutdown logger - remove BREAK from return flags
This commit is contained in:
parent
7e15e12d45
commit
91b07bf433
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user