Browse Source

Fix: sharded client logout (#2179)

tags/3.4.1
Quin Lynch GitHub 3 years ago
parent
commit
24b7bb593a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      src/Discord.Net.WebSocket/DiscordShardedClient.cs

+ 0
- 1
src/Discord.Net.WebSocket/DiscordShardedClient.cs View File

@@ -178,7 +178,6 @@ namespace Discord.WebSocket
await _shards[i].LogoutAsync();
}

CurrentUser = null;
if (_automaticShards)
{
_shardIds = new int[0];


Loading…
Cancel
Save