Tweaks to Process helper class and bug fix

This commit is contained in:
Nav
2022-09-15 20:18:26 +01:00
parent 054bde947b
commit 1f0a82d599
5 changed files with 34 additions and 24 deletions

View File

@@ -7,6 +7,7 @@
#include "src/Logger/Logger.hpp"
#include "src/Helpers/Paths.hpp"
#include "src/Helpers/Process.hpp"
#include "src/Exceptions/InvalidConfig.hpp"
@@ -509,7 +510,7 @@ namespace Bloom
}
void Application::onDebugSessionFinished(const Events::DebugSessionFinished& event) {
if (this->environmentConfig->shutdownPostDebugSession) {
if (this->environmentConfig->shutdownPostDebugSession || Process::isManagedByClion()) {
this->shutdown();
}
}