summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2016-08-01 17:07:37 +0200
committerLéo Lam <leo@innovatetechnologi.es>2016-10-03 11:41:23 +0200
commit53d553d2b0b098cd7369fe3ad6e1e83bac20ef33 (patch)
tree0e33c5b9a6082efd850e9669b56132082efbb27b /Source/Core/Common/FileUtil.cpp
parent1ff94c5f2d5d027f6e6186234f22efd4ed5b6034 (diff)
WiimoteReal: Fix race between shutdown and FindWiimotes
If FindWiimotes() took more time than the UI shutting down, the scanner would try connecting a Wiimote and sending an event to the UI code long after it has shut down, which causes a segfault. This fixes the race by ignoring any found Wiimotes during shutdown. Normally this would have never happened, but it is possible with hidapi since Wiimotes can be connected before Dolphin starts.
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions