DInputControllerInterface: Fix crash on shutdown

pull/2213/head
Connor McLaughlin 4 years ago
parent 9feaae1a15
commit 9845f1d76a

@ -20,6 +20,8 @@ DInputControllerInterface::DInputControllerInterface() = default;
DInputControllerInterface::~DInputControllerInterface()
{
m_controllers.clear();
m_dinput.Reset();
if (m_dinput_module)
FreeLibrary(m_dinput_module);
}

Loading…
Cancel
Save