Stops all processing and performs clean shutdown.
Orchestrates the shutdown sequence:
- Terminates all active tasks and coroutines
- Stops and closes audio streams
- Releases all resources and buffers
- Resets components to uninitialized state
Definition at line 315 of file Engine.cpp.
316{
318 return;
319
322 }
323
326 }
327
330 }
331
335 }
336
340 for (auto& window : windows) {
342 }
344 }
345
348 }
349
352 }
353
356}
std::shared_ptr< SubsystemManager > m_subsystem_manager
std::shared_ptr< Buffers::BufferManager > m_buffer_manager
Buffer manager.
bool m_is_paused
Pause state flag.
std::shared_ptr< WindowManager > m_window_manager
Window manager (Windowing subsystem)
std::shared_ptr< Vruta::TaskScheduler > m_scheduler
Task scheduler.
std::shared_ptr< Nodes::NodeGraphManager > m_node_graph_manager
Node graph manager.
References m_buffer_manager, m_is_initialized, m_is_paused, m_node_graph_manager, m_scheduler, m_subsystem_manager, and m_window_manager.
Referenced by ~Engine().