Fixed stack overflow error!

This commit is contained in:
kohlerpop1
2024-01-14 20:46:58 -05:00
parent 72092bb56b
commit 6bfa0b7745
2 changed files with 1 additions and 2 deletions

View File

@@ -50,7 +50,6 @@ public class TikTokLive {
return requests().fetchLiveUserData(hostName).isLiveOnline(); return requests().fetchLiveUserData(hostName).isLiveOnline();
} }
/** /**
* *
* @param hostName profile name of Tiktok user could be found in profile link * @param hostName profile name of Tiktok user could be found in profile link

View File

@@ -159,8 +159,8 @@ public class TikTokLiveClient implements LiveClient {
if (liveRoomInfo.hasConnectionState(ConnectionState.DISCONNECTED)) { if (liveRoomInfo.hasConnectionState(ConnectionState.DISCONNECTED)) {
return; return;
} }
webSocketClient.stop();
setState(ConnectionState.DISCONNECTED); setState(ConnectionState.DISCONNECTED);
webSocketClient.stop();
} }
private void setState(ConnectionState connectionState) { private void setState(ConnectionState connectionState) {