Skip to content

Commit

Permalink
GH-3744: Fix ServerWebSocketContainer.stop()
Browse files Browse the repository at this point in the history
Fixes #3744

The `ServerWebSocketContainer.stop()` accidentally calls `this.handshakeHandler.start()`

**Cherry-pick to `5.5.x`**
  • Loading branch information
Sorieee authored Mar 9, 2022
1 parent ba8a26f commit fdc4768
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2014-2021 the original author or authors.
* Copyright 2014-2022 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -232,7 +232,7 @@ public synchronized void start() {
@Override
public void stop() {
if (isRunning()) {
((Lifecycle) this.handshakeHandler).start();
((Lifecycle) this.handshakeHandler).stop();
}
}

Expand Down

0 comments on commit fdc4768

Please sign in to comment.