Fix: sharded client logout (#2179)

This commit is contained in:
Quin Lynch
2022-03-09 17:28:46 -04:00
committed by GitHub
parent fb4250b88c
commit 24b7bb593a

View File

@@ -178,7 +178,6 @@ namespace Discord.WebSocket
await _shards[i].LogoutAsync(); await _shards[i].LogoutAsync();
} }
CurrentUser = null;
if (_automaticShards) if (_automaticShards)
{ {
_shardIds = new int[0]; _shardIds = new int[0];