diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-07 10:56:25 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-07 10:56:25 +0100 |
commit | 87ae4d186ad64531e96fd3e121112f2787894295 (patch) | |
tree | 7e6efdf1cc66f63a9db0f1625e2d3e98647032e3 /src/crepe/manager/SystemManager.cpp | |
parent | aa2d2e05bc90b90ab503eff1f58bfc8c2b9c1741 (diff) |
revert signalcatch
Diffstat (limited to 'src/crepe/manager/SystemManager.cpp')
-rw-r--r-- | src/crepe/manager/SystemManager.cpp | 30 |
1 files changed, 8 insertions, 22 deletions
diff --git a/src/crepe/manager/SystemManager.cpp b/src/crepe/manager/SystemManager.cpp index fea59aa..eabc022 100644 --- a/src/crepe/manager/SystemManager.cpp +++ b/src/crepe/manager/SystemManager.cpp @@ -31,31 +31,17 @@ SystemManager::SystemManager(Mediator & mediator) : Manager(mediator) { this->mediator.system_manager = *this; } -void SystemManager::fixed_update() noexcept { - for (SystemEntry & entry : this->system_order) { - if (!entry.system.active) continue; - try { - entry.system.fixed_update(); - } catch (const exception & e) { - Log::logf( - Log::Level::WARNING, "Uncaught exception in {} fixed update: {}", entry.name, - e.what() - ); - } +void SystemManager::fixed_update() { + for (System & system : this->system_order) { + if (!system.active) continue; + system.fixed_update(); } } -void SystemManager::frame_update() noexcept { - for (SystemEntry & entry : this->system_order) { - if (!entry.system.active) continue; - try { - entry.system.frame_update(); - } catch (const exception & e) { - Log::logf( - Log::Level::WARNING, "Uncaught exception in {} frame update: {}", entry.name, - e.what() - ); - } +void SystemManager::frame_update() { + for (System & system : this->system_order) { + if (!system.active) continue; + system.frame_update(); } } |