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 237 of file Engine.cpp.
238{
240 return;
241
244 }
245
248 }
249
252 }
253
257 }
258
262 for (auto& window : windows) {
264 }
266 }
267
270 }
271
274 }
275
278}
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().