1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-11-22 21:35:44 -05:00

fix mutex issue

This commit is contained in:
Tyler Stiene 2021-01-04 21:27:30 -05:00
parent a735f3f62f
commit 7947e93a6d

View File

@ -163,6 +163,7 @@ func discordReceivePCM(v *discordgo.VoiceConnection, die chan bool) {
case fromDiscordMap[p.SSRC].pcm <- p.PCM[0:480]:
default:
log.Println("fromDiscordMap buffer full. Dropping packet")
discordMutex.Unlock()
continue
}
select {