aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/main.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-02-03 09:29:13 -0500
committerLioncash <mathew1800@gmail.com>2020-02-03 09:29:15 -0500
commitba28438e61f4991019182f6c6850e7f1cdf76bb2 (patch)
treedfd9cc0b10283da66259842b584e920697d6196b /src/input_common/main.cpp
parentf693c966a03cbe850c61a07b75bcf216c571b98f (diff)
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 9e028da890..c98c848cf0 100644
--- a/src/input_common/main.cpp
+++ b/src/input_common/main.cpp
@@ -41,6 +41,7 @@ void Shutdown() {
Input::UnregisterFactory<Input::MotionDevice>("motion_emu");
motion_emu.reset();
sdl.reset();
+ udp.reset();
}
Keyboard* GetKeyboard() {