Commit Graph

7 Commits

Author SHA1 Message Date
Paulo
f396cd9b92 fix: Cancel reconnection when 4014 (#1603)
* Cancel reconnection when 4014

* Missed an else
2020-10-14 18:23:00 -04:00
Paulo
b8fa464125 fix: Stop TaskCanceledException from bubbling up (#1580) 2020-07-10 00:13:01 -04:00
ComputerMaster1st
2c93363653 fix: Solves AudioClient Lockup On Disconnect (#1203)
* Solves Audio Disconnect Lockup

* Execute Disconnected Event Before Logger & State
2018-11-29 17:16:46 -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
RogueException
3e988c7549 Fixed incoming audio, removed nameresolution dep. 2017-04-01 12:59:27 -03:00
RogueException
3a45e9ec87 Support InvalidSession(true) 2017-03-20 23:49:17 -03:00
RogueException
06dcac6a9f Fixed audio and a few ConnectionManager issues 2017-02-25 16:07:22 -04:00