diff --git a/gui/main_window.py b/gui/main_window.py index aeb4877..303699f 100644 --- a/gui/main_window.py +++ b/gui/main_window.py @@ -164,6 +164,11 @@ def read_messages(self): socket_list().remove(sockets) + except ConnectionAbortedError: + sockets.close() + socket_list().remove(sockets) + + def rainbow_change_timer(self): with open("settings/settings.json","r+") as settings: load_data = json.load(settings)