Skip to content

Commit cc32648

Browse files
authored
Merge pull request #10 from Prokac/disconnect-fix
THX
2 parents 6941107 + 4c79772 commit cc32648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/src/main/java/io/github/jwdeveloper/tiktok/TikTokLiveClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public void connect() {
112112
}
113113

114114
public void disconnect() {
115-
if (!liveRoomInfo.hasConnectionState(ConnectionState.CONNECTED)) {
115+
if (liveRoomInfo.hasConnectionState(ConnectionState.DISCONNECTED)) {
116116
return;
117117
}
118118
webSocketClient.stop();

0 commit comments

Comments
 (0)