Use async during voice transmission

This commit is contained in:
RogueException
2016-02-09 19:45:04 -04:00
parent fa0c7c3f40
commit bb9d786159

View File

@@ -371,7 +371,7 @@ namespace Discord.Net.WebSockets
break;
}
}
_udp.Send(pingPacket, pingPacket.Length);
await _udp.SendAsync(pingPacket, pingPacket.Length);
nextPingTicks = currentTicks + 5 * ticksPerSeconds;
}
}