Commit Graph

9 Commits

Author SHA1 Message Date
ComputerMaster1st
ccb16e40c8 fix: Solves UdpClient "ObjectDisposedException" (#1202)
* Solves "ObjectDisposedException"

* Corrected Spelling Error

* Fixed Spelling
2018-11-29 17:20:35 -05:00
Monica S
7366cd4361 feature: Implement Dispose for types which have disposable data (#1171)
* Initial set of dispose implementations

Not handled yet:
- Discord.Net.Websocket/Entities/SocketGuild
- Discord.Net.Tests

* Refactor DiscordSocketClient init into ctor

This way we remove an IDisposableAnalyzer warning for not disposing
the client when we set the client variable.

* Dispose of clients when disposing sharded client

* Finish implementing IDisposable where appropriate

I opted to use NoWarn in the Tests project as it wasn't really necessary
considering that our tests only run once

* Tweak samples after feedback
2018-11-28 20:18:16 -05:00
Hawx
bbbac85c46 Update Dependencies and support NS2.0 builds (#1046)
* Update deps, fix test warnings.

* Support ns2.0

* Fix typo

* Remove ns1.1 support

* Net.Http and Net.Websockets.Client are not needed in ns2.0

* Move to net46 per volt

* Remove ns1.3 constants
2018-05-25 08:14:28 -04:00
RogueException
a306d83283 Added net45 TFM 2017-04-26 10:25:08 -03:00
RogueException
79fd14a95f Various audio fixes 2017-04-09 01:05:52 -03:00
RogueException
3e988c7549 Fixed incoming audio, removed nameresolution dep. 2017-04-01 12:59:27 -03:00
RogueException
2877653a09 Readded outgoing audio 2016-12-30 00:41:29 -04:00
RogueException
b166683704 Added missing IDisposables 2016-12-16 07:32:26 -04:00
RogueException
8f87b2cc71 Added support for .NET Standard 1.1 and 1.2 2016-12-16 05:52:46 -04:00