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 146 of file Engine.cpp.
147{
150 }
151
154
158 }
159
163 if (root != nullptr) {
164 root->clear_all_nodes();
165 }
166 }
167 }
168 }
169
172 for (auto& window : windows) {
174 }
176 }
177}
static MayaFlux::Nodes::ProcessingToken token
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< Nodes::NodeGraphManager > m_node_graph_manager
Node graph manager.
References m_buffer_manager, m_is_initialized, m_is_paused, m_node_graph_manager, m_subsystem_manager, m_window_manager, and token.
Referenced by ~Engine().