Cleanup voice connection on close

This commit is contained in:
andrei 2016-03-08 10:47:41 -08:00
parent 5dc0b9f2a1
commit cf222be2f8

View file

@ -643,6 +643,8 @@ func (v *VoiceConnection) Close() {
} }
v.wsConn = nil v.wsConn = nil
} }
delete(v.session.VoiceConnections, v.GuildID)
} }
// Request to change channels // Request to change channels