mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-12 04:35:45 -04:00
DInputControllerInterface: Fix crash on shutdown
This commit is contained in:
@ -20,6 +20,8 @@ DInputControllerInterface::DInputControllerInterface() = default;
|
||||
|
||||
DInputControllerInterface::~DInputControllerInterface()
|
||||
{
|
||||
m_controllers.clear();
|
||||
m_dinput.Reset();
|
||||
if (m_dinput_module)
|
||||
FreeLibrary(m_dinput_module);
|
||||
}
|
||||
|
Reference in New Issue
Block a user