Przeglądaj źródła

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

Previously the UDP backend would never actually get shut down.
Lioncash 6 lat temu
rodzic
commit
c7678c3044
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/input_common/main.cpp

+ 1 - 0
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() {