MCPcopy Create free account
hub / github.com/SFML/SFML / ~SensorManager

Method ~SensorManager

src/SFML/Window/SensorManager.cpp:125–136  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

123
124////////////////////////////////////////////////////////////
125SensorManager::~SensorManager()
126{
127 // Per sensor cleanup
128 for (Item& item : m_sensors)
129 {
130 if (item.available)
131 item.sensor.close();
132 }
133
134 // Global sensor cleanup
135 SensorImpl::cleanup();
136}
137
138} // namespace sf::priv

Callers

nothing calls this directly

Calls 2

cleanupFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected