Skip to content

Commit 8ebaba1

Browse files
authored
Merge pull request #824 from freyacodes/dev
v3.7.4 release
2 parents 94f3dcc + 071c8bf commit 8ebaba1

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v3
2222

2323
- name: Download Artifacts
24-
uses: actions/download-artifact@v2
24+
uses: actions/download-artifact@v3
2525
with:
2626
name: Lavalink.jar
2727

2828
- name: Upload Artifacts to GitHub Release
29-
uses: softprops/action-gh-release@v1
29+
uses: ncipollo/release-action@v1
3030
with:
31-
files: Lavalink.jar
31+
artifacts: Lavalink.jar
32+
allowUpdates: true

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
Each release usually includes various fixes and improvements.
44
The most noteworthy of these, as well as any features and breaking changes, are listed here.
55

6+
## 3.7.4
7+
* Fix an issue where Lavalink would not destroy a session when a client disconnects
8+
69
## 3.7.3
710
* Fix breaking change where `/decodetrack` would return a full track instead of the track info
811

LavalinkServer/src/main/java/lavalink/server/io/SocketServer.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class SocketServer(
147147
}
148148

149149
override fun afterConnectionClosed(session: WebSocketSession, status: CloseStatus) {
150-
val context = contextMap.remove(session.id) ?: return
150+
val context = contextMap.remove(session.attributes["sessionId"]) ?: return
151151
if (context.resumeKey != null) {
152152
resumableSessions.remove(context.resumeKey!!)?.let { removed ->
153153
log.warn(

0 commit comments

Comments
 (0)