Unlock what you Lock, fool.
This commit is contained in:
parent
cdd87ec432
commit
e252652fe8
1 changed files with 1 additions and 0 deletions
1
voice.go
1
voice.go
|
@ -795,6 +795,7 @@ func (v *VoiceConnection) reconnect() {
|
|||
v.Lock()
|
||||
if v.reconnecting {
|
||||
v.log(LogInformational, "already reconnecting, exiting.")
|
||||
v.Unlock()
|
||||
return
|
||||
}
|
||||
v.reconnecting = true
|
||||
|
|
Loading…
Reference in a new issue