This commit is contained in:
RickyRister 2025-01-12 02:06:16 -08:00
parent 088ead7522
commit 1d614f8548

View file

@ -280,6 +280,9 @@ void TabSupervisor::startLocal(const QList<AbstractClient *> &_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())