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

Method ~JoystickManager

src/SFML/Window/JoystickManager.cpp:113–122  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

111
112////////////////////////////////////////////////////////////
113JoystickManager::~JoystickManager()
114{
115 for (Item& item : m_joysticks)
116 {
117 if (item.state.connected)
118 item.joystick.close();
119 }
120
121 JoystickImpl::cleanup();
122}
123
124} // namespace sf::priv

Callers

nothing calls this directly

Calls 2

cleanupFunction · 0.85
closeMethod · 0.45

Tested by

no test coverage detected