Stop deleting audio after last client disconects

merge-requests/5/head
Phil Taylor 2021-06-01 23:34:43 +01:00
rodzic 2112c97b1e
commit 4edf3f3f1d
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -1528,6 +1528,8 @@ void udpServer::deleteConnection(QList<CLIENT*>* l, CLIENT* c)
qInfo(logUdpServer()) << "Current Number of clients connected: " << l->length();
connMutex.unlock();
// Deleting the audio seems to screw everything up!
/*
if (l->length() == 0) {
if (rxAudioTimer != Q_NULLPTR) {
@ -1551,5 +1553,5 @@ void udpServer::deleteConnection(QList<CLIENT*>* l, CLIENT* c)
}
}
*/
}