<commit_before>#include "pch.h"
#include "service_manager.h"
#include "service.h"





ServiceManager::ServiceManager()
    : _state(Service::PRE_INIT)
    , _elapsedTime(0.0f)
{
}

ServiceManager::~ServiceManager()
{
}

void ServiceManager::cleanup()
{
    for (ServicesType::iterator it = _services.begin(), end_it = _services.end(); it != end_it; it++)<commit_msg>delete services in reverse order<commit_after>#include "pch.h"
#include "service_manager.h"
#include "service.h"





ServiceManager::ServiceManager()
    : _state(Service::PRE_INIT)
    , _elapsedTime(0.0f)
{
}

ServiceManager::~ServiceManager()
{
}

void ServiceManager::cleanup()
{
    for (ServicesType::reverse_iterator it = _services.rbegin(), end_it = _services.rend(); it != end_it; it++)
{'fraction_non_alphanumeric': 0.1598951507208388, 'fraction_numerical': 0.005242463958060288, 'mean_word_length': 5.643478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7651782', 'n_tokens_mistral': 266, 'n_tokens_neox': 259, 'n_words': 45}