Commit 3af488a
committed
Avoid multiple invocations of afterConnectionClosed
This change ensures the state of a SockJS session is set to CLOSED
immediately after close is invoked. This avoids duplicate invocations
of afterConnectionClosed in WebSocket transport.
Issue: SPR-118841 parent 86de416 commit 3af488a
File tree
1 file changed
+1
-1
lines changed- spring-websocket/src/main/java/org/springframework/web/socket/sockjs/transport/session
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| |||
285 | 286 | | |
286 | 287 | | |
287 | 288 | | |
288 | | - | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
0 commit comments