diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index 1ee7a16c8..5f28fc72c 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -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;