summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Device.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-05-27 18:48:40 +0200
committerLéo Lam <leo@innovatetechnologi.es>2017-06-03 19:05:35 +0200
commit52f00603e217faad8f21f4b4daf2713967546878 (patch)
treef7443df2299b903b5beab9610ee3700fd9c1f8ba /Source/Core/InputCommon/ControllerInterface/Device.cpp
parent0ff8e2b36f95653cf524cbf23ba6c2f69b201e0d (diff)
Core: Use RAII for EmuThread shutdown
This is more reliable, as this guarantees subsystems will be shut down in the same order they were initialised (if they were initialised). It also allows us to stop keeping track of what needs to be shut down manually and just return in case of errors. This should prevent the emulator from getting totally stuck when the boot process does fail.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.cpp')
0 files changed, 0 insertions, 0 deletions