mirror of
https://github.com/PCSX2/pcsx2.git
synced 2025-02-18 11:18:13 +00:00
InputManager: Release settings lock before shutting down the input source
This commit is contained in:
parent
2f46e5a840
commit
cd3e11bff7
@ -1605,7 +1605,10 @@ void InputManager::UpdateInputSourceState(SettingsInterface& si, std::unique_loc
|
||||
{
|
||||
if (s_input_sources[static_cast<u32>(type)])
|
||||
{
|
||||
settings_lock.unlock();
|
||||
s_input_sources[static_cast<u32>(type)]->Shutdown();
|
||||
settings_lock.lock();
|
||||
|
||||
s_input_sources[static_cast<u32>(type)].reset();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user