Fix for NullReference if no connection was established #554
requested to merge github/fork/PeskyTheBear/bugfix/nullref_on_discordclient_dispose_#554 into master
Created by: PeskyTheBear
Summary
Fixes #554 (closed) Added a null check when disposing the WebsSocketClient and removed the Disconnect because this is done in a nullsafe way in DiscordClient::DisconnectAsync().
Notes
I picked up this issue because i am relatively new to open source development and this issue looked relatively easy. I would love any feedback