Browse Source

Fixed an oversight clearing session data upon any disconnect. (#2485)

tags/3.9.0
Quahu GitHub 2 years ago
parent
commit
c7ac59d892
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
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