input_common/udp: Ensure that UDP is shut down within Shutdown()

Previously the UDP backend would never actually get shut down.
This commit is contained in:
Lioncash 2020-02-03 09:29:13 -05:00
parent 83f8090273
commit c7678c3044

View File

@ -41,6 +41,7 @@ void Shutdown() {
Input::UnregisterFactory<Input::MotionDevice>("motion_emu"); Input::UnregisterFactory<Input::MotionDevice>("motion_emu");
motion_emu.reset(); motion_emu.reset();
sdl.reset(); sdl.reset();
udp.reset();
} }
Keyboard* GetKeyboard() { Keyboard* GetKeyboard() {