summaryrefslogtreecommitdiff
path: root/src/input_common/main.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2020-02-03 09:29:13 -0500
committerGravatar Lioncash2020-02-03 09:29:15 -0500
commitc7678c3044165d9e15ae6a8e0d996f8b793f3c0f (patch)
treedfd9cc0b10283da66259842b584e920697d6196b /src/input_common/main.cpp
parentinput_common/udp: Add missing override specifiers (diff)
downloadyuzu-c7678c3044165d9e15ae6a8e0d996f8b793f3c0f.tar.gz
yuzu-c7678c3044165d9e15ae6a8e0d996f8b793f3c0f.tar.xz
yuzu-c7678c3044165d9e15ae6a8e0d996f8b793f3c0f.zip
input_common/udp: Ensure that UDP is shut down within Shutdown()
Previously the UDP backend would never actually get shut down.
Diffstat (limited to 'src/input_common/main.cpp')
-rw-r--r--src/input_common/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input_common/main.cpp b/src/input_common/main.cpp
index 9e028da89..c98c848cf 100644
--- a/src/input_common/main.cpp
+++ b/src/input_common/main.cpp
@@ -41,6 +41,7 @@ void Shutdown() {
41 Input::UnregisterFactory<Input::MotionDevice>("motion_emu"); 41 Input::UnregisterFactory<Input::MotionDevice>("motion_emu");
42 motion_emu.reset(); 42 motion_emu.reset();
43 sdl.reset(); 43 sdl.reset();
44 udp.reset();
44} 45}
45 46
46Keyboard* GetKeyboard() { 47Keyboard* GetKeyboard() {