diff options
| author | 2020-02-03 09:29:13 -0500 | |
|---|---|---|
| committer | 2020-02-03 09:29:15 -0500 | |
| commit | c7678c3044165d9e15ae6a8e0d996f8b793f3c0f (patch) | |
| tree | dfd9cc0b10283da66259842b584e920697d6196b /src/input_common/main.cpp | |
| parent | input_common/udp: Add missing override specifiers (diff) | |
| download | yuzu-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.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() { | |||
| 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 | ||
| 46 | Keyboard* GetKeyboard() { | 47 | Keyboard* GetKeyboard() { |