From 1d614f854805a199e47635b78e6dd0ccbedc7efd Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 12 Jan 2025 02:06:16 -0800 Subject: [PATCH] comment --- cockatrice/src/client/tabs/tab_supervisor.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cockatrice/src/client/tabs/tab_supervisor.cpp b/cockatrice/src/client/tabs/tab_supervisor.cpp index 271f8bab7..2e6ef2af0 100644 --- a/cockatrice/src/client/tabs/tab_supervisor.cpp +++ b/cockatrice/src/client/tabs/tab_supervisor.cpp @@ -280,6 +280,9 @@ void TabSupervisor::startLocal(const QList &_clients) connect(localClients.first(), &AbstractClient::gameJoinedEventReceived, this, &TabSupervisor::localGameJoined); } +/** + * Call this when Cockatrice disconnects from the server in order to clean up. + */ void TabSupervisor::stop() { if ((!client) && localClients.isEmpty())