修复通过头像跳转到其他PK直播间,再上下滑回来会依旧保持PK倒计时状态

This commit is contained in:
zlzw 2023-04-10 11:33:14 +08:00
parent 76f94895fe
commit 47c3f59f74

View File

@ -308,6 +308,12 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
@Override
public void run() {
Log.e("ImgLoader1", data.getAvatar());
if (mLiveRyLinkMicPkPresenter != null) {
mLiveRyLinkMicPkPresenter.clearData();
mLiveRyLinkMicPkPresenter.release();
mLiveRyLinkMicPkPresenter = null;
}
mLiveBean = data;
mLiveSDK = liveSdk;
mLiveType = liveType;