Moved Process helper functions to service class

This commit is contained in:
Nav
2022-12-26 21:35:24 +00:00
parent d353b55f9b
commit 4c25c85c36
7 changed files with 60 additions and 24 deletions

View File

@@ -7,9 +7,10 @@
#include <yaml-cpp/yaml.h>
#include <yaml-cpp/exceptions.h>
#include "src/Services/ProcessService.hpp"
#include "src/Logger/Logger.hpp"
#include "src/Helpers/Paths.hpp"
#include "src/Helpers/Process.hpp"
#include "src/Exceptions/InvalidConfig.hpp"
@@ -515,7 +516,7 @@ namespace Bloom
}
void Application::onDebugSessionFinished(const Events::DebugSessionFinished& event) {
if (this->environmentConfig->shutdownPostDebugSession || Process::isManagedByClion()) {
if (this->environmentConfig->shutdownPostDebugSession || Services::ProcessService::isManagedByClion()) {
this->shutdown();
}
}