Merge pull request #10 from Prokac/disconnect-fix

THX
This commit is contained in:
Jacek W
2023-10-24 21:58:49 +02:00
committed by GitHub

View File

@@ -112,7 +112,7 @@ public class TikTokLiveClient implements LiveClient {
} }
public void disconnect() { public void disconnect() {
if (!liveRoomInfo.hasConnectionState(ConnectionState.CONNECTED)) { if (liveRoomInfo.hasConnectionState(ConnectionState.DISCONNECTED)) {
return; return;
} }
webSocketClient.stop(); webSocketClient.stop();