diff --git a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java index 1ba93ce68..4e5e7d611 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveActivity.java @@ -1759,7 +1759,6 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL protected void release() { EventBus.getDefault().unregister(this); LiveHttpUtil.cancel(LiveHttpConsts.SEND_DANMU); - LoadDian9TuUtil.clearBitmap(); if (mKeyBoardHeightUtil != null) { mKeyBoardHeightUtil.release(); } @@ -1808,6 +1807,11 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL Constants.isSend = "0"; } + private void claerBitmap(){ + LoadDian9TuUtil.clearBitmap(); + } + + /** * 显示个人资料弹窗 */ @@ -1865,6 +1869,7 @@ public abstract class LiveActivity extends AbsActivity implements SocketMessageL @Override protected void onDestroy() { release(); + claerBitmap(); super.onDestroy(); }