Przeglądaj źródła

Unlock what you Lock, fool.

Bruce Marriner 8 lat temu
rodzic
commit
e252652fe8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      voice.go

+ 1 - 0
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