Added missing IDisposables

This commit is contained in:
RogueException
2016-12-16 07:32:26 -04:00
parent d3d3bb155d
commit b166683704
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ using System.Threading.Tasks;
namespace Discord.Net.Rest
{
internal sealed class DefaultRestClient : IRestClient
internal sealed class DefaultRestClient : IRestClient, IDisposable
{
private const int HR_SECURECHANNELFAILED = -2146233079;

View File

@@ -7,7 +7,7 @@ using System.Threading.Tasks;
namespace Discord.Net.Udp
{
internal class DefaultUdpSocket : IUdpSocket
internal class DefaultUdpSocket : IUdpSocket, IDisposable
{
public event Func<byte[], int, int, Task> ReceivedDatagram;

View File

@@ -10,7 +10,7 @@ using System.Threading.Tasks;
namespace Discord.Net.WebSockets
{
internal class DefaultWebSocketClient : IWebSocketClient
internal class DefaultWebSocketClient : IWebSocketClient, IDisposable
{
public const int ReceiveChunkSize = 16 * 1024; //16KB
public const int SendChunkSize = 4 * 1024; //4KB