Fix condition check in SockJsClient lifecycle method

This commit is contained in:
Rossen Stoyanchev 2014-10-28 17:48:08 -04:00
parent b70c5d1ff1
commit 70e6e3bb39
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ public class SockJsClient implements WebSocketClient, Lifecycle {
@Override
public void stop() {
if (!isRunning()) {
if (isRunning()) {
this.running = false;
for (Transport transport : this.transports) {
if (transport instanceof Lifecycle) {