Minor cleanup and bugfix

This commit is contained in:
Cameron Gutman
2021-04-09 13:47:24 -05:00
parent 83431e557d
commit 31433fc5ee
2 changed files with 3 additions and 2 deletions

View File

@@ -78,6 +78,7 @@ int initializeAudioStream(void) {
int err = PltCreateThread("AudioPing", UdpPingThreadProc, NULL, &udpPingThread);
if (err != 0) {
closeSocket(rtpSocket);
rtpSocket = INVALID_SOCKET;
return err;
}