MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ shutdown()

void MayaFlux::Core::SubsystemManager::shutdown ( )

Shutdown all subsystems in proper order.

Definition at line 226 of file SubsystemManager.cpp.

227{
228 for (auto& [token, subsystem] : m_subsystems) {
229 if (subsystem && subsystem->is_ready()) {
230 subsystem->shutdown();
231 }
232 }
233 m_subsystems.clear();
234}
std::unordered_map< SubsystemType, std::shared_ptr< ISubsystem > > m_subsystems

References m_subsystems.