Made EventManager class static

This commit is contained in:
Nav
2022-03-20 17:37:36 +00:00
parent 9922d1eca7
commit 7437f0a31e
12 changed files with 44 additions and 52 deletions

View File

@@ -190,7 +190,7 @@ namespace Bloom::DebugServers::Gdb
if (this->clientConnection.has_value()) {
this->clientConnection->close();
this->clientConnection = std::nullopt;
this->eventManager.triggerEvent(std::make_shared<Events::DebugSessionFinished>());
EventManager::triggerEvent(std::make_shared<Events::DebugSessionFinished>());
}
}