MCPcopy Create free account
hub / github.com/SFML/SFML / cleanup

Method cleanup

src/SFML/Window/Unix/JoystickImpl.cpp:463–470  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

461
462////////////////////////////////////////////////////////////
463void JoystickImpl::cleanup()
464{
465 // Unreference the udev monitor to destroy it
466 udevMonitor.reset();
467
468 // Unreference the udev context to destroy it
469 udevContext.reset();
470}
471
472
473////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls 1

resetMethod · 0.80

Tested by

no test coverage detected