Skip to content

Commit fdc4768

Browse files
authored
GH-3744: Fix ServerWebSocketContainer.stop()
Fixes #3744 The `ServerWebSocketContainer.stop()` accidentally calls `this.handshakeHandler.start()` **Cherry-pick to `5.5.x`**
1 parent ba8a26f commit fdc4768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-integration-websocket/src/main/java/org/springframework/integration/websocket/ServerWebSocketContainer.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2021 the original author or authors.
2+
* Copyright 2014-2022 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -232,7 +232,7 @@ public synchronized void start() {
232232
@Override
233233
public void stop() {
234234
if (isRunning()) {
235-
((Lifecycle) this.handshakeHandler).start();
235+
((Lifecycle) this.handshakeHandler).stop();
236236
}
237237
}
238238

0 commit comments

Comments
 (0)