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 311 of file Engine.cpp.
312{
314 return;
315
318 }
319
322 }
323
326 }
327
331 }
332
336 for (auto& window : windows) {
338 }
340 }
341
344 }
345
348 }
349
352}
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().