From 107e2a8d971877c0cfa5d3d1d5be7e0386ea0d2a Mon Sep 17 00:00:00 2001 From: Silvris <58583688+Silvris@users.noreply.github.com> Date: Sat, 20 Apr 2024 23:46:43 -0500 Subject: [PATCH] disconnect the snes --- SNIClient.py | 1 + 1 file changed, 1 insertion(+) diff --git a/SNIClient.py b/SNIClient.py index 1804ab3cc08d..cf4ef758ff7d 100644 --- a/SNIClient.py +++ b/SNIClient.py @@ -85,6 +85,7 @@ def _cmd_snes_close(self) -> bool: """Close connection to a currently connected snes""" self.ctx.snes_reconnect_address = None self.ctx.cancel_snes_autoreconnect() + self.ctx.snes_state = SNESState.SNES_DISCONNECTED if self.ctx.snes_socket and not self.ctx.snes_socket.closed: async_start(self.ctx.snes_socket.close()) return True