Browse Source

Fixed an oversight clearing session data upon any disconnect.

pull/2485/head
Quahu 2 years ago
parent
commit
12e4d4323e
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      src/Discord.Net.WebSocket/DiscordSocketClient.cs

+ 0
- 4
src/Discord.Net.WebSocket/DiscordSocketClient.cs View File

@@ -352,10 +352,6 @@ namespace Discord.WebSocket
if (guild.IsAvailable)
await GuildUnavailableAsync(guild).ConfigureAwait(false);
}

_sessionId = null;
_lastSeq = 0;
ApiClient.ResumeGatewayUrl = null;
}

/// <inheritdoc />


Loading…
Cancel
Save