diff options
author | Lioncash <mathew1800@gmail.com> | 2020-02-03 09:29:13 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-02-03 09:29:15 -0500 |
commit | c7678c3044165d9e15ae6a8e0d996f8b793f3c0f (patch) | |
tree | dfd9cc0b10283da66259842b584e920697d6196b /src/input_common/main.cpp | |
parent | 83f8090273fbc8d499b08c6a53700c9a2c262d81 (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.cpp | 1 |
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() { Input::UnregisterFactory<Input::MotionDevice>("motion_emu"); motion_emu.reset(); sdl.reset(); + udp.reset(); } Keyboard* GetKeyboard() { |