We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5927789 commit cb320d1Copy full SHA for cb320d1
LavalinkServer/src/main/java/lavalink/server/io/SocketServer.kt
@@ -147,7 +147,7 @@ class SocketServer(
147
}
148
149
override fun afterConnectionClosed(session: WebSocketSession, status: CloseStatus) {
150
- val context = contextMap.remove(session.id) ?: return
+ val context = contextMap.remove(session.attributes["sessionId"]) ?: return
151
if (context.resumeKey != null) {
152
resumableSessions.remove(context.resumeKey!!)?.let { removed ->
153
log.warn(
0 commit comments