diff options
| author | Dentomologist <dentomologist@gmail.com> | 2023-03-08 16:58:55 -0800 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2023-03-08 17:22:27 -0800 |
| commit | d6a8e6caaf1edfec74f3c41518cfb8e095f36bdc (patch) | |
| tree | 304e141e651e18308ef066bc1225b7a81fe89e07 /Source/Core/Common/FileUtil.cpp | |
| parent | 560a23957c7bef98a782ef6e7a73da06dc540a8b (diff) | |
ControllerInterface: Fix deadlock when Wii Remote disconnects
In UpdateInput, lock m_devices_population_mutex before m_devices_mutex
to be consistent with other ControllerInterface functions. Normally the
former lock isn't needed in UpdateInput, but when a Wii Remote
disconnects it calls RemoveDevice which results in the mutexes being
locked in the wrong order.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions
